Updated msxbuild sdcc function order.
This commit is contained in:
parent
4cc1cfabb7
commit
f3f1ba7405
|
@ -12,10 +12,10 @@ $(BIOS_BIN):
|
||||||
$(call mb_mkdir,$(BIOS_BIN))
|
$(call mb_mkdir,$(BIOS_BIN))
|
||||||
|
|
||||||
$(BIOS_BIN)/%.rel: $(BIOS_SRC)/%.asm | $(BIOS_BIN)
|
$(BIOS_BIN)/%.rel: $(BIOS_SRC)/%.asm | $(BIOS_BIN)
|
||||||
$(call mb_sdcc_compile_asm,$@,$<)
|
$(call mb_sdcc_compile_asm,$<,$@)
|
||||||
|
|
||||||
$(BIOS_HEX): $(BIOS_RELS)
|
$(BIOS_HEX): $(BIOS_RELS)
|
||||||
$(call mb_sdcc_link_asm_dos,$(BIOS_HEX),$(BIOS_RELS))
|
$(call mb_sdcc_link_asm_dos,$<,$@)
|
||||||
|
|
||||||
$(BIOS_DAT): $(BIOS_HEX)
|
$(BIOS_DAT): $(BIOS_HEX)
|
||||||
$(call mb_sdcc_hex2bin,$(BIOS_HEX),$(BIOS_DAT))
|
$(call mb_sdcc_hex2bin,$<,$@)
|
||||||
|
|
|
@ -20,5 +20,5 @@ $(DIST_RUN_BIN)/dome.000: bin/domelib/dome.000 | $(DIST_RUN_BIN)
|
||||||
cp src/gfx/org/*.zop $(DIST_RUN_BIN);
|
cp src/gfx/org/*.zop $(DIST_RUN_BIN);
|
||||||
|
|
||||||
$(DIST_RUN_NAME): $(DIST_RUN_INC_BIN)
|
$(DIST_RUN_NAME): $(DIST_RUN_INC_BIN)
|
||||||
$(call mb_autoexec_open_gui80_mouse,$(DIST_RUN_BIN),init)
|
$(call mb_autoexec_show_gui80_mouse,$(DIST_RUN_BIN),init)
|
||||||
$(call mb_openmsx_dosctl,$(DIST_RUN_BIN))
|
$(call mb_openmsx_dosctl,$(DIST_RUN_BIN))
|
||||||
|
|
|
@ -14,10 +14,10 @@ $(DOME_BIN):
|
||||||
$(call mb_mkdir,$(DOME_BIN))
|
$(call mb_mkdir,$(DOME_BIN))
|
||||||
|
|
||||||
$(DOME_BIN)/%.rel: $(DOME_SRC)/%.asm | $(DOME_BIN)
|
$(DOME_BIN)/%.rel: $(DOME_SRC)/%.asm | $(DOME_BIN)
|
||||||
$(call mb_sdcc_compile_asm,$@,$<)
|
$(call mb_sdcc_compile_asm,$<,$@)
|
||||||
|
|
||||||
$(DOME_HEX): $(DOME_RELS)
|
$(DOME_HEX): $(DOME_RELS)
|
||||||
$(call mb_sdcc_link_asm_8000,$(DOME_HEX),$(DOME_RELS))
|
$(call mb_sdcc_link_asm_8000,$<,$@)
|
||||||
|
|
||||||
$(DOME_DAT): $(DOME_HEX)
|
$(DOME_DAT): $(DOME_HEX)
|
||||||
$(call mb_sdcc_hex2bin,$(DOME_HEX),$(DOME_DAT))
|
$(call mb_sdcc_hex2bin,$<,$@)
|
||||||
|
|
|
@ -12,10 +12,10 @@ $(INIT_BIN):
|
||||||
$(call mb_mkdir,$(INIT_BIN))
|
$(call mb_mkdir,$(INIT_BIN))
|
||||||
|
|
||||||
$(INIT_BIN)/%.rel: $(INIT_SRC)/%.asm | $(INIT_BIN)
|
$(INIT_BIN)/%.rel: $(INIT_SRC)/%.asm | $(INIT_BIN)
|
||||||
$(call mb_sdcc_compile_asm,$@,$<)
|
$(call mb_sdcc_compile_asm,$<,$@)
|
||||||
|
|
||||||
$(INIT_HEX): $(INIT_RELS)
|
$(INIT_HEX): $(INIT_RELS)
|
||||||
$(call mb_sdcc_link_asm_dos,$(INIT_HEX),$(INIT_RELS))
|
$(call mb_sdcc_link_asm_dos,$<,$@)
|
||||||
|
|
||||||
$(INIT_COM): $(INIT_HEX)
|
$(INIT_COM): $(INIT_HEX)
|
||||||
$(call mb_sdcc_hex2bin,$(INIT_HEX),$(INIT_COM))
|
$(call mb_sdcc_hex2bin,$<,$@)
|
||||||
|
|
|
@ -10,16 +10,16 @@ $(LEVELS_BIN):
|
||||||
#cp $(LEVELS_SRC)/*.00* $(LEVELS_BIN);
|
#cp $(LEVELS_SRC)/*.00* $(LEVELS_BIN);
|
||||||
|
|
||||||
$(LEVELS_BIN)/code001.rel: $(LEVELS_SRC)/code001.asm | $(LEVELS_BIN)
|
$(LEVELS_BIN)/code001.rel: $(LEVELS_SRC)/code001.asm | $(LEVELS_BIN)
|
||||||
$(call mb_sdcc_compile_asm,$@,$<)
|
$(call mb_sdcc_compile_asm,$<,$@)
|
||||||
|
|
||||||
$(LEVELS_BIN)/code002.rel: $(LEVELS_SRC)/code001.asm | $(LEVELS_BIN)
|
$(LEVELS_BIN)/code002.rel: $(LEVELS_SRC)/code001.asm | $(LEVELS_BIN)
|
||||||
$(call mb_sdcc_compile_asm,$@,$<)
|
$(call mb_sdcc_compile_asm,$<,$@)
|
||||||
|
|
||||||
$(LEVELS_BIN)/code001.hex: $(LEVELS_BIN)/code001.rel
|
$(LEVELS_BIN)/code001.hex: $(LEVELS_BIN)/code001.rel
|
||||||
$(call mb_sdcc_link_asm_1000,$@,$<)
|
$(call mb_sdcc_link_asm_1000,$<,$@)
|
||||||
|
|
||||||
$(LEVELS_BIN)/code002.hex: $(LEVELS_BIN)/code002.rel
|
$(LEVELS_BIN)/code002.hex: $(LEVELS_BIN)/code002.rel
|
||||||
$(call mb_sdcc_link_asm_1000,$@,$<)
|
$(call mb_sdcc_link_asm_1000,$<,$@)
|
||||||
|
|
||||||
$(LEVELS_BIN)/code001.dat: $(LEVELS_BIN)/code001.hex
|
$(LEVELS_BIN)/code001.dat: $(LEVELS_BIN)/code001.hex
|
||||||
$(call mb_sdcc_hex2bin,$<,$@)
|
$(call mb_sdcc_hex2bin,$<,$@)
|
||||||
|
|
|
@ -12,10 +12,10 @@ $(LOADER_BIN):
|
||||||
$(call mb_mkdir,$(LOADER_BIN))
|
$(call mb_mkdir,$(LOADER_BIN))
|
||||||
|
|
||||||
$(LOADER_BIN)/%.rel: $(LOADER_SRC)/%.asm | $(LOADER_BIN)
|
$(LOADER_BIN)/%.rel: $(LOADER_SRC)/%.asm | $(LOADER_BIN)
|
||||||
$(call mb_sdcc_compile_asm,$@,$<)
|
$(call mb_sdcc_compile_asm,$<,$@)
|
||||||
|
|
||||||
$(LOADER_HEX): $(LOADER_RELS)
|
$(LOADER_HEX): $(LOADER_RELS)
|
||||||
$(call mb_sdcc_link_asm_8000,$(LOADER_HEX),$(LOADER_RELS))
|
$(call mb_sdcc_link_asm_8000,$<,$@)
|
||||||
|
|
||||||
$(LOADER_DAT): $(LOADER_HEX)
|
$(LOADER_DAT): $(LOADER_HEX)
|
||||||
$(call mb_sdcc_hex2bin,$(LOADER_HEX),$(LOADER_DAT))
|
$(call mb_sdcc_hex2bin,$<,$@)
|
||||||
|
|
|
@ -12,10 +12,10 @@ $(MAKELIB_BIN):
|
||||||
$(call mb_mkdir,$(MAKELIB_BIN))
|
$(call mb_mkdir,$(MAKELIB_BIN))
|
||||||
|
|
||||||
$(MAKELIB_BIN)/%.rel: $(MAKELIB_SRC)/%.asm | $(MAKELIB_BIN)
|
$(MAKELIB_BIN)/%.rel: $(MAKELIB_SRC)/%.asm | $(MAKELIB_BIN)
|
||||||
$(call mb_sdcc_compile_asm,$@,$<)
|
$(call mb_sdcc_compile_asm,$<,$@)
|
||||||
|
|
||||||
$(MAKELIB_HEX): $(MAKELIB_RELS)
|
$(MAKELIB_HEX): $(MAKELIB_RELS)
|
||||||
$(call mb_sdcc_link_asm_dos,$(MAKELIB_HEX),$(MAKELIB_RELS))
|
$(call mb_sdcc_link_asm_dos,$<,$@)
|
||||||
|
|
||||||
$(MAKELIB_COM): $(MAKELIB_HEX)
|
$(MAKELIB_COM): $(MAKELIB_HEX)
|
||||||
$(call mb_sdcc_hex2bin,$(MAKELIB_HEX),$(MAKELIB_COM))
|
$(call mb_sdcc_hex2bin,$<,$@)
|
||||||
|
|
|
@ -12,10 +12,10 @@ $(MENU_BIN):
|
||||||
$(call mb_mkdir,$(MENU_BIN))
|
$(call mb_mkdir,$(MENU_BIN))
|
||||||
|
|
||||||
$(MENU_BIN)/%.rel: $(MENU_SRC)/%.asm | $(MENU_BIN)
|
$(MENU_BIN)/%.rel: $(MENU_SRC)/%.asm | $(MENU_BIN)
|
||||||
$(call mb_sdcc_compile_asm,$@,$<)
|
$(call mb_sdcc_compile_asm,$<,$@)
|
||||||
|
|
||||||
$(MENU_HEX): $(MENU_RELS)
|
$(MENU_HEX): $(MENU_RELS)
|
||||||
$(call mb_sdcc_link_asm_8000,$(MENU_HEX),$(MENU_RELS))
|
$(call mb_sdcc_link_asm_8000,$<,$@)
|
||||||
|
|
||||||
$(MENU_DAT): $(MENU_HEX)
|
$(MENU_DAT): $(MENU_HEX)
|
||||||
$(call mb_sdcc_hex2bin,$(MENU_HEX),$(MENU_DAT))
|
$(call mb_sdcc_hex2bin,$<,$@)
|
||||||
|
|
|
@ -12,10 +12,10 @@ $(MMENU_BIN):
|
||||||
$(call mb_mkdir,$(MMENU_BIN))
|
$(call mb_mkdir,$(MMENU_BIN))
|
||||||
|
|
||||||
$(MMENU_BIN)/%.rel: $(MMENU_SRC)/%.asm | $(MMENU_BIN)
|
$(MMENU_BIN)/%.rel: $(MMENU_SRC)/%.asm | $(MMENU_BIN)
|
||||||
$(call mb_sdcc_compile_asm,$@,$<)
|
$(call mb_sdcc_compile_asm,$<,$@)
|
||||||
|
|
||||||
$(MMENU_HEX): $(MMENU_RELS)
|
$(MMENU_HEX): $(MMENU_RELS)
|
||||||
$(call mb_sdcc_link_asm_4000,$(MMENU_HEX),$(MMENU_RELS))
|
$(call mb_sdcc_link_asm_4000,$<,$@)
|
||||||
|
|
||||||
$(MMENU_DAT): $(MMENU_HEX)
|
$(MMENU_DAT): $(MMENU_HEX)
|
||||||
$(call mb_sdcc_hex2bin,$(MMENU_HEX),$(MMENU_DAT))
|
$(call mb_sdcc_hex2bin,$<,$@)
|
||||||
|
|
Loading…
Reference in a new issue