Initial files
This commit is contained in:
parent
2f34088fc3
commit
a92a2b8dad
16 changed files with 755 additions and 2 deletions
26
Makefile
Normal file
26
Makefile
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
|
||||
rwildcard = $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
|
||||
INC_LIB := $(call rwildcard, lib, */0module.mk)
|
||||
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)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(call mb_clean,$(PATH_BIN))
|
||||
|
||||
-include Makelocal.mk
|
||||
include lib/make/msxbuild.mk
|
||||
include $(INC_LIB)
|
||||
include $(INC_TEST)
|
||||
Loading…
Add table
Add a link
Reference in a new issue