msxbuild/Makefile
Willem Cazander 56e74ee085
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -8s
Converted local project to demo structure.
2024-06-30 02:42:42 +02:00

29 lines
595 B
Makefile

#
# Example project makefile for msxbuild.
#
PATH_BIN := bin
PATH_SRC := src
rwildcard = $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
MK_MODULES := $(call rwildcard, src, */0module.mk)
BUILD_ALL := "Use 'make help' for possible targets."
BUILD_HELP := "Use one of the following build targets;"
.SUFFIXES:
.PHONY: all
all:
@echo $(BUILD_ALL)
BUILD_HELP += \\n\\t* help
.PHONY: help
help:
@echo $(BUILD_HELP)
BUILD_HELP += \\n\\t* clean
.PHONY: clean
clean:
$(call mb_clean,$(PATH_BIN))
include lib/make/msxbuild.mk
include $(MK_MODULES)