This commit is contained in:
cdricms
2024-11-07 12:02:29 +01:00
parent 658fe48bb8
commit 0970740e31
14 changed files with 732 additions and 72 deletions

55
Makefile Normal file
View File

@@ -0,0 +1,55 @@
# GNU Make workspace makefile autogenerated by Premake
ifndef config
config=debug
endif
ifndef verbose
SILENT = @
endif
ifeq ($(config),debug)
CWebLibrary_config = debug
cweb_config = debug
endif
ifeq ($(config),release)
CWebLibrary_config = release
cweb_config = release
endif
PROJECTS := CWebLibrary cweb
.PHONY: all clean help $(PROJECTS)
all: $(PROJECTS)
CWebLibrary:
ifneq (,$(CWebLibrary_config))
@echo "==== Building CWebLibrary ($(CWebLibrary_config)) ===="
@${MAKE} --no-print-directory -C . -f CWebLibrary.make config=$(CWebLibrary_config)
endif
cweb: CWebLibrary
ifneq (,$(cweb_config))
@echo "==== Building cweb ($(cweb_config)) ===="
@${MAKE} --no-print-directory -C . -f cweb.make config=$(cweb_config)
endif
clean:
@${MAKE} --no-print-directory -C . -f CWebLibrary.make clean
@${MAKE} --no-print-directory -C . -f cweb.make clean
help:
@echo "Usage: make [config=name] [target]"
@echo ""
@echo "CONFIGURATIONS:"
@echo " debug"
@echo " release"
@echo ""
@echo "TARGETS:"
@echo " all (default)"
@echo " clean"
@echo " CWebLibrary"
@echo " cweb"
@echo ""
@echo "For more information, see https://github.com/premake/premake-core/wiki"