2
0
Fork 0

Migrated to lastest msxbuild.

This commit is contained in:
Willem Cazander 2024-09-07 15:36:12 +02:00
parent 8087dcaab7
commit 5bd5564cec
4 changed files with 18 additions and 19 deletions

View file

@ -20,11 +20,10 @@ help:
BUILD_HELP += \\n\\t* clean
.PHONY: clean
clean:
$(call mb_make_call,mb_os_dir_delete,$(PATH_BIN))
$(call mb-make-call,mb-os-dir-delete,$(PATH_BIN))
-include Makelocal.mk
include $(PATH_MSXBUILD)/lib/make/msxbuild-prolog.mk
include $(PATH_MSXBUILD)/msxbuild.mk
.RECIPEPREFIX :=
include $(PATH_MSXBUILD)/lib/make/msxbuild.mk
$(call mb_make_call,mb_make_flow_0module,$(PATH_SRC))
$(call mb-make-call,mb-flow-nx01-skywalker,$(PATH_SRC))

View file

@ -7,10 +7,10 @@ DIST_RUN_DEP := $(DIST_RUN_BIN)/tara.com
BUILD_HELP += \\n\\t* $(DIST_RUN_NAME)
$(DIST_RUN_BIN):
$(call mb_make_call,mb_os_dir_create,$(DIST_RUN_BIN))
$(call mb-make-call,mb-os-dir-create,$(DIST_RUN_BIN))
$(DIST_RUN_DEP): $(DIST_RUN_DEP_TAR) | $(DIST_RUN_BIN)
$(call mb_make_call,mb_os_file_copy,$(PATH_BIN)/dist/*,$(DIST_RUN_BIN))
$(call mb-make-call,mb-os-file-copy,$(PATH_BIN)/dist/*,$(DIST_RUN_BIN))
$(DIST_RUN_NAME): $(DIST_RUN_DEP)
$(call mb_make_call,mb_msxpipe_run_gui_mouse,$(DIST_RUN_BIN),tara)
$(call mb-make-call,mb-msxpipe-run-gui-mouse,$(DIST_RUN_BIN),tara)

16
src/dist/0module.mk vendored
View file

@ -11,18 +11,18 @@ DIST_TARA_SRC := $(PATH_BIN)/tara/tara.com
BUILD_HELP += \\n\\t* $(DIST_OUT)
$(DIST_BIN):
$(call mb_make_call,mb_os_dir_create,$(DIST_BIN))
$(call mb-make-call,mb-os-dir-create,$(DIST_BIN))
$(DIST_BIN)/all.sr8: $(DIST_SRC)/all.sr8 | $(DIST_BIN)
$(call mb_make_call,mb_os_file_copy,$<,$@)
$(call mb-make-call,mb-os-file-copy,$<,$@)
$(DIST_BIN)/ascii.sr8: $(DIST_SRC)/ascii.sr8 | $(DIST_BIN)
$(call mb_make_call,mb_os_file_copy,$<,$@)
$(call mb-make-call,mb-os-file-copy,$<,$@)
$(DIST_BIN)/veld.sr8: $(DIST_SRC)/veld.sr8 | $(DIST_BIN)
$(call mb_make_call,mb_os_file_copy,$<,$@)
$(call mb-make-call,mb-os-file-copy,$<,$@)
$(DIST_BIN)/veldback.4bp: $(DIST_SRC)/veldback.4bp | $(DIST_BIN)
$(call mb_make_call,mb_os_file_copy,$<,$@)
$(call mb-make-call,mb-os-file-copy,$<,$@)
$(DIST_BIN)/readme.txt: $(DIST_SRC)/readme.txt | $(DIST_BIN)
$(call mb_make_call,mb_os_file_copy,$<,$@)
$(call mb-make-call,mb-os-file-copy,$<,$@)
$(DIST_TARA_BIN): $(DIST_TARA_SRC) | $(DIST_BIN)
$(call mb_make_call,mb_os_file_copy,$<,$@)
$(call mb-make-call,mb-os-file-copy,$<,$@)
$(DIST_OUT): | $(DIST_INC_BIN) $(DIST_TARA_BIN)
$(call mb_make_call,mb_package_create_archive,$(DIST_BIN),$@)
$(call mb-make-call,mb-package-create-archive,$(DIST_BIN),$@)

View file

@ -9,13 +9,13 @@ TARA_CODE := $(TARA_SRC)/$(TARA_NAME).asm
BUILD_HELP += \\n\\t* $(TARA_COM)
$(TARA_BIN):
$(call mb_make_call,mb_os_dir_create,$(TARA_BIN))
$(call mb-make-call,mb-os-dir-create,$(TARA_BIN))
$(TARA_BIN)/%.rel: $(TARA_SRC)/%.asm | $(TARA_BIN)
$(call mb_make_call,mb_sdcc_compile_asm,$<,$@)
$(call mb-make-call,mb-sdcc-compile-asm,$<,$@)
$(TARA_HEX): $(TARA_RELS)
$(call mb_make_call,mb_sdcc_link_asm_bdos,$<,$@)
$(call mb-make-call,mb-sdcc-link-asm-bdos,$<,$@)
$(TARA_COM): $(TARA_HEX)
$(call mb_make_call,mb_sdcc_objcopy,$<,$@)
$(call mb-make-call,mb-sdcc-objcopy,$<,$@)