2
0
Fork 0

Renamed function and made safe.

This commit is contained in:
Willem Cazander 2024-07-10 23:00:29 +02:00
parent 8578c8eee5
commit 54dec85047
13 changed files with 88 additions and 81 deletions

View file

@ -1,10 +1,6 @@
#
# Top level makefile for dome
#
rwildcard = $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
INC_MODS := $(call rwildcard, src, */0module.mk)
INC_LIBS := $(call rwildcard, src, */0module.lib.mk)
PATH_BIN := bin
PATH_SRC := src
BUILD_ALL := "Use 'make help' for possible targets."
@ -13,19 +9,21 @@ BUILD_HELP := "Use one of the following build targets;"
.SUFFIXES:
.PHONY: all
all:
@echo $(BUILD_ALL)
@echo -e $(BUILD_ALL)
BUILD_HELP += \\n\\t* help
.PHONY: help
help:
@echo $(BUILD_HELP)
@echo -e $(BUILD_HELP)
BUILD_HELP += \\n\\t* clean
.PHONY: clean
clean:
$(call mb_clean,$(PATH_BIN))
$(call mb_make_call,mb_os_dir_delete,$(PATH_BIN))
-include Makelocal.mk
include $(PATH_MSXBUILD)/lib/make/msxbuild-prolog.mk
include $(PATH_MSXBUILD)/lib/make/msxbuild.mk
include $(INC_LIBS)
include $(INC_MODS)
.RECIPEPREFIX :=
$(call mb_make_call,mb_make_flow_0module,$(PATH_SRC))