2
0
Fork 0
original-tara/Makefile

33 lines
729 B
Makefile
Raw Normal View History

2018-11-22 21:14:43 +00:00
#
# Top level makefile for tara
2018-11-22 21:14:43 +00:00
#
2021-07-02 19:02:27 +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_ALL := "Use 'make help' for possible targets."
BUILD_HELP := "Use one of the following build targets;"
2024-07-02 22:23:45 +00:00
MB_OPENMSX_ARGS += -ext video9000
2018-11-22 21:14:43 +00:00
2020-12-23 17:28:22 +00:00
.SUFFIXES:
2018-11-22 21:14:43 +00:00
.PHONY: all
all:
2020-12-23 17:28:22 +00:00
@echo $(BUILD_ALL)
2018-11-22 21:14:43 +00:00
2020-12-23 17:28:22 +00:00
BUILD_HELP += \\n\\t* help
.PHONY: help
help:
@echo $(BUILD_HELP)
2018-11-22 21:14:43 +00:00
2020-12-23 17:28:22 +00:00
BUILD_HELP += \\n\\t* clean
2018-11-22 21:14:43 +00:00
.PHONY: clean
clean:
$(call mb_clean,$(PATH_BIN))
2018-11-22 21:14:43 +00:00
-include Makelocal.mk
2020-05-02 02:50:18 +00:00
include $(PATH_MSXBUILD)/lib/make/msxbuild.mk
include $(INC_LIBS)
include $(INC_MODS)