diff --git a/Makefile b/Makefile index f8b64a5..6474610 100644 --- a/Makefile +++ b/Makefile @@ -2,15 +2,15 @@ # 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) -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_EXTS += -ext video9000 -MB_OPENMSX_JOYPORTA := mouse +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_EXTS += -ext video9000 +MB_OPENMSX_JOYPORTA := mouse .SUFFIXES: .PHONY: all diff --git a/src/dist/0module.mk b/src/dist/0module.mk index 0c4d93b..6b2d6b3 100644 --- a/src/dist/0module.mk +++ b/src/dist/0module.mk @@ -4,8 +4,8 @@ DIST_SRC := $(PATH_SRC)/$(DIST_NAME) DIST_BIN := $(PATH_BIN)/$(DIST_NAME) DIST_OUT := $(PATH_BIN)/$(DIST_NAME).tar.gz DIST_INC := ALL.SR8 ASCII.SR8 readme.txt VELD.SR8 VELDBACK.4BP -DIST_INC_BIN := $(patsubst %,$(DIST_BIN)/%,$(DIST_INC)) -DIST_INC_SRC := $(patsubst %,$(DIST_SRC)/%,$(DIST_INC)) +DIST_INC_BIN := $(patsubst %,$(DIST_BIN)/%,$(DIST_INC)) +DIST_INC_SRC := $(patsubst %,$(DIST_SRC)/%,$(DIST_INC)) DIST_TARA_BIN := $(DIST_BIN)/tara.com DIST_TARA_SRC := $(PATH_BIN)/tara/tara.com BUILD_HELP += \\n\\t* $(DIST_OUT)