# GNU Make workspace makefile autogenerated by Premake ifndef config config=debug_x64 endif ifndef verbose SILENT = @ endif ifeq ($(config),debug_x64) botlib_config = debug_x64 cnq3_server_config = debug_x64 endif ifeq ($(config),release_x64) botlib_config = release_x64 cnq3_server_config = release_x64 endif PROJECTS := botlib cnq3-server .PHONY: all clean help $(PROJECTS) all: $(PROJECTS) botlib: ifneq (,$(botlib_config)) @echo "==== Building botlib ($(botlib_config)) ====" @${MAKE} --no-print-directory -C . -f botlib.make config=$(botlib_config) endif cnq3-server: botlib ifneq (,$(cnq3_server_config)) @echo "==== Building cnq3-server ($(cnq3_server_config)) ====" @${MAKE} --no-print-directory -C . -f cnq3-server.make config=$(cnq3_server_config) endif clean: @${MAKE} --no-print-directory -C . -f botlib.make clean @${MAKE} --no-print-directory -C . -f cnq3-server.make clean help: @echo "Usage: make [config=name] [target]" @echo "" @echo "CONFIGURATIONS:" @echo " debug_x64" @echo " release_x64" @echo "" @echo "TARGETS:" @echo " all (default)" @echo " clean" @echo " botlib" @echo " cnq3-server" @echo "" @echo "For more information, see https://github.com/premake/premake-core/wiki"