33 lines
723 B
Makefile
33 lines
723 B
Makefile
#
|
|
# 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."
|
|
BUILD_HELP := "Use one of the following build targets;"
|
|
MB_OPENMSX_JOYPORTA := mouse
|
|
|
|
.SUFFIXES:
|
|
.PHONY: all
|
|
all:
|
|
@echo $(BUILD_ALL)
|
|
|
|
BUILD_HELP += \\n\\t* help
|
|
.PHONY: help
|
|
help:
|
|
@echo $(BUILD_HELP)
|
|
|
|
BUILD_HELP += \\n\\t* clean
|
|
.PHONY: clean
|
|
clean:
|
|
$(call mb_clean,$(PATH_BIN))
|
|
|
|
-include Makelocal.mk
|
|
include $(PATH_MSXBUILD)/lib/make/msxbuild.mk
|
|
include $(INC_LIBS)
|
|
include $(INC_MODS)
|