2
0
Fork 0

Cleaned space.

This commit is contained in:
Willem Cazander 2021-07-02 21:01:12 +02:00
parent f4f007bd9c
commit facea70bb1
12 changed files with 19 additions and 19 deletions

View file

@ -2,14 +2,14 @@
# Top level makefile for dome # Top level makefile for dome
# #
rwildcard = $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d)) rwildcard = $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2) $(filter $(subst *,%,$2),$d))
INC_MODS := $(call rwildcard, src, */0module.mk) INC_MODS := $(call rwildcard, src, */0module.mk)
INC_LIBS := $(call rwildcard, src, */0module.lib.mk) INC_LIBS := $(call rwildcard, src, */0module.lib.mk)
PATH_BIN := bin PATH_BIN := bin
PATH_SRC := src PATH_SRC := src
BUILD_ALL := "Use 'make help' for possible targets." BUILD_ALL := "Use 'make help' for possible targets."
BUILD_HELP := "Use one of the following build targets;" BUILD_HELP := "Use one of the following build targets;"
MB_OPENMSX_JOYPORTA := mouse MB_OPENMSX_JOYPORTA := mouse
.SUFFIXES: .SUFFIXES:
.PHONY: all .PHONY: all

View file

@ -6,7 +6,7 @@ BIOS_HEX := $(BIOS_BIN)/$(BIOS_NAME).hex
BIOS_DAT := $(BIOS_BIN)/$(BIOS_NAME).dat BIOS_DAT := $(BIOS_BIN)/$(BIOS_NAME).dat
BIOS_RELS := $(BIOS_BIN)/$(BIOS_NAME).rel BIOS_RELS := $(BIOS_BIN)/$(BIOS_NAME).rel
BIOS_CODE := $(BIOS_SRC)/$(BIOS_NAME).asm BIOS_CODE := $(BIOS_SRC)/$(BIOS_NAME).asm
BUILD_HELP += \\n\\t* $(BIOS_DAT) BUILD_HELP += \\n\\t* $(BIOS_DAT)
$(BIOS_BIN): $(BIOS_BIN):
$(call mb_mkdir,$(BIOS_BIN)) $(call mb_mkdir,$(BIOS_BIN))

View file

@ -4,7 +4,7 @@ DIST_RUN_BIN := $(PATH_BIN)/$(DIST_RUN_NAME)
DIST_RUN_SRC := $(PATH_SRC)/$(DIST_RUN_NAME) DIST_RUN_SRC := $(PATH_SRC)/$(DIST_RUN_NAME)
DIST_RUN_INC := init.com dome.000 DIST_RUN_INC := init.com dome.000
DIST_RUN_INC_BIN := $(patsubst %,$(DIST_RUN_BIN)/%,$(DIST_RUN_INC)) DIST_RUN_INC_BIN := $(patsubst %,$(DIST_RUN_BIN)/%,$(DIST_RUN_INC))
BUILD_HELP += \\n\\t* $(DIST_RUN_NAME) BUILD_HELP += \\n\\t* $(DIST_RUN_NAME)
$(DIST_RUN_BIN): $(DIST_RUN_BIN):
$(call mb_mkdir,$(DIST_RUN_BIN)) $(call mb_mkdir,$(DIST_RUN_BIN))

View file

@ -6,7 +6,7 @@ DOME_HEX := $(DOME_BIN)/$(DOME_NAME).hex
DOME_DAT := $(DOME_BIN)/$(DOME_NAME).dat DOME_DAT := $(DOME_BIN)/$(DOME_NAME).dat
DOME_RELS := $(DOME_BIN)/$(DOME_NAME).rel DOME_RELS := $(DOME_BIN)/$(DOME_NAME).rel
DOME_CODE := $(DOME_SRC)/$(DOME_NAME).asm DOME_CODE := $(DOME_SRC)/$(DOME_NAME).asm
BUILD_HELP += \\n\\t* $(DOME_DAT) BUILD_HELP += \\n\\t* $(DOME_DAT)
# TODO fix build trigger on ai_new.asm # TODO fix build trigger on ai_new.asm

View file

@ -3,6 +3,7 @@ DOMELIB_NAME := domelib
DOMELIB_SRC := $(PATH_SRC)/$(DOMELIB_NAME) DOMELIB_SRC := $(PATH_SRC)/$(DOMELIB_NAME)
DOMELIB_BIN := $(PATH_BIN)/$(DOMELIB_NAME) DOMELIB_BIN := $(PATH_BIN)/$(DOMELIB_NAME)
DOMELIB_OUT := $(PATH_BIN)/$(DOMELIB_NAME)/dome.000 DOMELIB_OUT := $(PATH_BIN)/$(DOMELIB_NAME)/dome.000
BUILD_HELP += \\n\\t* $(DOMELIB_OUT)
DOMELIB_DEPS := \ DOMELIB_DEPS := \
$(PATH_BIN)/bios/bios.dat \ $(PATH_BIN)/bios/bios.dat \
$(PATH_BIN)/dome/dome.dat \ $(PATH_BIN)/dome/dome.dat \
@ -10,7 +11,6 @@ $(PATH_BIN)/loader/loader.dat \
$(PATH_BIN)/makelib/makelib.com \ $(PATH_BIN)/makelib/makelib.com \
$(PATH_BIN)/menu/menu.dat \ $(PATH_BIN)/menu/menu.dat \
$(PATH_BIN)/mmenu/mmenu.dat $(PATH_BIN)/mmenu/mmenu.dat
BUILD_HELP += \\n\\t* $(DOMELIB_OUT)
$(DOMELIB_BIN): $(DOMELIB_BIN):
$(call mb_mkdir,$(DOMELIB_BIN)) $(call mb_mkdir,$(DOMELIB_BIN))

View file

@ -4,7 +4,7 @@ GFX_SRC := $(PATH_SRC)/$(GFX_NAME)
GFX_BIN := $(PATH_BIN)/$(GFX_NAME) GFX_BIN := $(PATH_BIN)/$(GFX_NAME)
GFX_SRC_FILES := $(call rwildcard, $(PATH_SRC)/$(GFX_NAME), *.ge5) GFX_SRC_FILES := $(call rwildcard, $(PATH_SRC)/$(GFX_NAME), *.ge5)
GFX_BIN_FILES := $(patsubst $(PATH_SRC)/$(GFX_NAME)/%.ge5,$(GFX_BIN)/%.zop,$(GFX_SRC_FILES)) GFX_BIN_FILES := $(patsubst $(PATH_SRC)/$(GFX_NAME)/%.ge5,$(GFX_BIN)/%.zop,$(GFX_SRC_FILES))
BUILD_HELP += \\n\\t* gfx / test-gfx BUILD_HELP += \\n\\t* gfx / test-gfx
# TODO: add unittot.ge5 # TODO: add unittot.ge5
# #

View file

@ -6,7 +6,7 @@ INIT_HEX := $(INIT_BIN)/$(INIT_NAME).hex
INIT_COM := $(INIT_BIN)/$(INIT_NAME).com INIT_COM := $(INIT_BIN)/$(INIT_NAME).com
INIT_RELS := $(INIT_BIN)/$(INIT_NAME).rel INIT_RELS := $(INIT_BIN)/$(INIT_NAME).rel
INIT_CODE := $(INIT_SRC)/$(INIT_NAME).asm INIT_CODE := $(INIT_SRC)/$(INIT_NAME).asm
BUILD_HELP += \\n\\t* $(INIT_COM) BUILD_HELP += \\n\\t* $(INIT_COM)
$(INIT_BIN): $(INIT_BIN):
$(call mb_mkdir,$(INIT_BIN)) $(call mb_mkdir,$(INIT_BIN))

View file

@ -2,7 +2,7 @@
LEVELS_NAME := levels LEVELS_NAME := levels
LEVELS_SRC := $(PATH_SRC)/$(LEVELS_NAME) LEVELS_SRC := $(PATH_SRC)/$(LEVELS_NAME)
LEVELS_BIN := $(PATH_BIN)/$(LEVELS_NAME) LEVELS_BIN := $(PATH_BIN)/$(LEVELS_NAME)
BUILD_HELP += \\n\\t* $(LEVELS_BIN)/code.001 / $(LEVELS_BIN)/code.002 BUILD_HELP += \\n\\t* $(LEVELS_BIN)/code.001 / $(LEVELS_BIN)/code.002
$(LEVELS_BIN): $(LEVELS_BIN):
$(call mb_mkdir,$(LEVELS_BIN)) $(call mb_mkdir,$(LEVELS_BIN))

View file

@ -6,7 +6,7 @@ LOADER_HEX := $(LOADER_BIN)/$(LOADER_NAME).hex
LOADER_DAT := $(LOADER_BIN)/$(LOADER_NAME).dat LOADER_DAT := $(LOADER_BIN)/$(LOADER_NAME).dat
LOADER_RELS := $(LOADER_BIN)/$(LOADER_NAME).rel LOADER_RELS := $(LOADER_BIN)/$(LOADER_NAME).rel
LOADER_CODE := $(LOADER_SRC)/$(LOADER_NAME).asm LOADER_CODE := $(LOADER_SRC)/$(LOADER_NAME).asm
BUILD_HELP += \\n\\t* $(LOADER_DAT) BUILD_HELP += \\n\\t* $(LOADER_DAT)
$(LOADER_BIN): $(LOADER_BIN):
$(call mb_mkdir,$(LOADER_BIN)) $(call mb_mkdir,$(LOADER_BIN))

View file

@ -6,7 +6,7 @@ MAKELIB_HEX := $(MAKELIB_BIN)/$(MAKELIB_NAME).hex
MAKELIB_COM := $(MAKELIB_BIN)/$(MAKELIB_NAME).com MAKELIB_COM := $(MAKELIB_BIN)/$(MAKELIB_NAME).com
MAKELIB_RELS := $(MAKELIB_BIN)/$(MAKELIB_NAME).rel MAKELIB_RELS := $(MAKELIB_BIN)/$(MAKELIB_NAME).rel
MAKELIB_CODE := $(MAKELIB_SRC)/$(MAKELIB_NAME).asm MAKELIB_CODE := $(MAKELIB_SRC)/$(MAKELIB_NAME).asm
BUILD_HELP += \\n\\t* $(MAKELIB_COM) BUILD_HELP += \\n\\t* $(MAKELIB_COM)
$(MAKELIB_BIN): $(MAKELIB_BIN):
$(call mb_mkdir,$(MAKELIB_BIN)) $(call mb_mkdir,$(MAKELIB_BIN))

View file

@ -6,7 +6,7 @@ MENU_HEX := $(MENU_BIN)/$(MENU_NAME).hex
MENU_DAT := $(MENU_BIN)/$(MENU_NAME).dat MENU_DAT := $(MENU_BIN)/$(MENU_NAME).dat
MENU_RELS := $(MENU_BIN)/$(MENU_NAME).rel MENU_RELS := $(MENU_BIN)/$(MENU_NAME).rel
MENU_CODE := $(MENU_SRC)/$(MENU_NAME).asm MENU_CODE := $(MENU_SRC)/$(MENU_NAME).asm
BUILD_HELP += \\n\\t* $(MENU_DAT) BUILD_HELP += \\n\\t* $(MENU_DAT)
$(MENU_BIN): $(MENU_BIN):
$(call mb_mkdir,$(MENU_BIN)) $(call mb_mkdir,$(MENU_BIN))

View file

@ -6,7 +6,7 @@ MMENU_HEX := $(MMENU_BIN)/$(MMENU_NAME).hex
MMENU_DAT := $(MMENU_BIN)/$(MMENU_NAME).dat MMENU_DAT := $(MMENU_BIN)/$(MMENU_NAME).dat
MMENU_RELS := $(MMENU_BIN)/$(MMENU_NAME).rel MMENU_RELS := $(MMENU_BIN)/$(MMENU_NAME).rel
MMENU_CODE := $(MMENU_SRC)/$(MMENU_NAME).asm MMENU_CODE := $(MMENU_SRC)/$(MMENU_NAME).asm
BUILD_HELP += \\n\\t* $(MMENU_DAT) BUILD_HELP += \\n\\t* $(MMENU_DAT)
$(MMENU_BIN): $(MMENU_BIN):
$(call mb_mkdir,$(MMENU_BIN)) $(call mb_mkdir,$(MMENU_BIN))