gear/Makefile
2024-09-16 09:15:24 +12:00

48 lines
No EOL
934 B
Makefile

# Alternative GNU Make workspace makefile autogenerated by Premake
ifndef config
config=debug
endif
ifndef verbose
SILENT = @
endif
ifeq ($(config),debug)
gear_bin_config = debug
else ifeq ($(config),release)
gear_bin_config = release
else
$(error "invalid configuration $(config)")
endif
PROJECTS := gear-bin
.PHONY: all clean help $(PROJECTS)
all: $(PROJECTS)
gear-bin:
ifneq (,$(gear_bin_config))
@echo "==== Building gear-bin ($(gear_bin_config)) ===="
@${MAKE} --no-print-directory -C . -f gear-bin.make config=$(gear_bin_config)
endif
clean:
@${MAKE} --no-print-directory -C . -f gear-bin.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 " gear-bin"
@echo ""
@echo "For more information, see https://github.com/premake/premake-core/wiki"