2018-11-22 21:14:43 +00:00
|
|
|
#
|
2019-04-18 12:29:17 +00:00
|
|
|
# Top level makefile for tara
|
2018-11-22 21:14:43 +00:00
|
|
|
#
|
|
|
|
|
2019-04-18 12:29:17 +00:00
|
|
|
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_HELP := "Use one of the following build targets;\\n\\t* clean"
|
|
|
|
MB_OPENMSX_EXT := -ext video9000
|
2018-11-22 21:14:43 +00:00
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all:
|
2019-04-18 12:29:17 +00:00
|
|
|
@echo $(BUILD_HELP)
|
2018-11-22 21:14:43 +00:00
|
|
|
|
2019-04-18 12:29:17 +00:00
|
|
|
.PHONY: help
|
|
|
|
help:
|
|
|
|
@echo $(BUILD_HELP)
|
2018-11-22 21:14:43 +00:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
2019-04-18 12:29:17 +00:00
|
|
|
$(call mb_clean,$(PATH_BIN))
|
2018-11-22 21:14:43 +00:00
|
|
|
|
2019-04-18 12:29:17 +00:00
|
|
|
-include Makelocal.mk
|
|
|
|
include $(MB_PATH_MSXBUILD)/lib/make/msxbuild.mk
|
|
|
|
include $(INC_LIBS)
|
|
|
|
include $(INC_MODS)
|