00001 00002 # Add all WOOPER-specific rules below. 00003 00004 00005 # Outside prerequesites: 00006 # $(WOOPER_SRC)/wooper.hrl wooper_class_manager and modules from 'common'. 00007 00008 00009 00010 class_%.beam: class_%.erl class_%.hrl class_%_dependencies 00011 @echo " Compiling WOOPER class with header $<" 00012 @$(ERLANG_COMPILER) $(ERLANG_COMPILER_OPT) -o $@ $< 00013 00014 00015 class_%.beam: class_%.erl class_%_dependencies 00016 @echo " Compiling WOOPER class $<" 00017 @$(ERLANG_COMPILER) $(ERLANG_COMPILER_OPT) -o $@ $< 00018 00019 00020 class_%.beam: class_%.erl class_%.hrl 00021 @echo " Compiling WOOPER no-dependency class with header $<" 00022 @$(ERLANG_COMPILER) $(ERLANG_COMPILER_OPT) -o $@ $< 00023 00024 00025 # Most frequently-used rule: 00026 class_%.beam: class_%.erl 00027 @echo " Compiling WOOPER no-dependency class $<" 00028 @$(ERLANG_COMPILER) $(ERLANG_COMPILER_OPT) -o $@ $< 00029 00030 00031 # Allows for example 'make:files([class_XXX]).' or 'make:all().': 00032 # (deactivated, otherwise could be the default rule applied) 00033 #Emakefile: 00034 # @echo " Generating Emakefile" 00035 # @echo "{'*',[debug_info,{i,\"$(WOOPER_INC)\"}]}." > Emakefile 00036