rapidjson/build/gmake/example.make
2014-06-25 16:06:00 +08:00

61 lines
1.5 KiB
Makefile

# 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"