premake/samples/gmake/Makefile

25 lines
495 B
Makefile

# GNU Makefile autogenerated by Premake
# Usage: make [ CONFIG=config_name ]
# Where {config_name} is one of:
# Debug, Release
ifndef CONFIG
CONFIG=Debug
endif
export CONFIG
.PHONY: all clean CppExe
all: CppExe
Makefile: premake.lua CppExe/premake.lua
@echo ==== Regenerating Makefiles ====
@premake --file $^ --target gnu
CppExe:
@echo ==== Building CppExe ====
@$(MAKE) --no-print-directory -C CppExe
clean:
@$(MAKE) --no-print-directory -C CppExe clean