diff options
Diffstat (limited to 'build/gmake/example.make')
-rw-r--r-- | build/gmake/example.make | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/build/gmake/example.make b/build/gmake/example.make new file mode 100644 index 00000000..64e5bc7f --- /dev/null +++ b/build/gmake/example.make @@ -0,0 +1,60 @@ +# GNU Make solution makefile autogenerated by Premake +# Type "make help" for usage help + +ifndef config + config=debug32 +endif +export config + +PROJECTS := condense pretty prettyauto tutorial serialize + +.PHONY: all clean help $(PROJECTS) + +all: $(PROJECTS) + +condense: + @echo "==== Building condense ($(config)) ====" + @${MAKE} --no-print-directory -C . -f condense.make + +pretty: + @echo "==== Building pretty ($(config)) ====" + @${MAKE} --no-print-directory -C . -f pretty.make + +prettyauto: + @echo "==== Building prettyauto ($(config)) ====" + @${MAKE} --no-print-directory -C . -f prettyauto.make + +tutorial: + @echo "==== Building tutorial ($(config)) ====" + @${MAKE} --no-print-directory -C . -f tutorial.make + +serialize: + @echo "==== Building serialize ($(config)) ====" + @${MAKE} --no-print-directory -C . -f serialize.make + +clean: + @${MAKE} --no-print-directory -C . -f condense.make clean + @${MAKE} --no-print-directory -C . -f pretty.make clean + @${MAKE} --no-print-directory -C . -f prettyauto.make clean + @${MAKE} --no-print-directory -C . -f tutorial.make clean + @${MAKE} --no-print-directory -C . -f serialize.make clean + +help: + @echo "Usage: make [config=name] [target]" + @echo "" + @echo "CONFIGURATIONS:" + @echo " debug32" + @echo " release32" + @echo " debug64" + @echo " release64" + @echo "" + @echo "TARGETS:" + @echo " all (default)" + @echo " clean" + @echo " condense" + @echo " pretty" + @echo " prettyauto" + @echo " tutorial" + @echo " serialize" + @echo "" + @echo "For more information, see http://industriousone.com/premake/quick-start" |