mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-23 04:12:42 +00:00
3b6a3a5019
don't track .user files except for cnq3 and cnq3-server disabled FPS hack disabled FPS hack, part 2
55 lines
No EOL
1.2 KiB
Makefile
55 lines
No EOL
1.2 KiB
Makefile
# 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"
|