26 lines
552 B
Makefile
26 lines
552 B
Makefile
|
|
rwildcard = $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
|
|
INC_TEST := $(call rwildcard, test, */0module.mk)
|
|
PATH_BIN := bin
|
|
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 Makelocal.mk
|
|
include lib/make/msxbuild.mk
|
|
include $(INC_TEST)
|