#
# Top level makefile for tara
#

rwildcard         = $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
INC_MODS         := $(call rwildcard, src, */0module.mk)
PATH_BIN         := bin
PATH_SRC         := src
BUILD_ALL        := "Use 'make help' for possible targets."
BUILD_HELP       := "Use one of the following build targets;"
MB_OPENMSX_EXTS  += -ext FAC_MIDI_Interface
#MB_OPENMSX_EXTS  += -ext Philips_NMS_1205

.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 $(PATH_MSXBUILD)/lib/make/msxbuild.mk
include $(INC_MODS)