2
Fork 0

Updated to lastest msxbuild

This commit is contained in:
Willem Cazander 2020-12-23 18:36:09 +01:00
parent 59b4c71fad
commit ca8f575d2d
26 changed files with 118 additions and 224 deletions

View file

@ -2,31 +2,33 @@
LEVELS_NAME := levels
LEVELS_SRC := $(PATH_SRC)/$(LEVELS_NAME)
LEVELS_BIN := $(PATH_BIN)/$(LEVELS_NAME)
BUILD_HELP += \\n\\t* $(LEVELS_BIN)/code.001 / $(LEVELS_BIN)/code.002
$(LEVELS_BIN):
$(call mod_mkdir,$(LEVELS_BIN));
cp $(LEVELS_SRC)/*.00* $(LEVELS_BIN);
$(call mb_mkdir,$(LEVELS_BIN))
$(call mb_copy,$(LEVELS_SRC)/*.00*,$(LEVELS_BIN))
#cp $(LEVELS_SRC)/*.00* $(LEVELS_BIN);
$(LEVELS_BIN)/code001.rel: $(LEVELS_SRC)/code001.asm | $(LEVELS_BIN)
$(call mod_compile_asm,$@,$<)
$(call mb_compile_asm,$@,$<)
$(LEVELS_BIN)/code002.rel: $(LEVELS_SRC)/code001.asm | $(LEVELS_BIN)
$(call mod_compile_asm,$@,$<)
$(call mb_compile_asm,$@,$<)
$(LEVELS_BIN)/code001.hex: $(LEVELS_BIN)/code001.rel
$(call mod_link_asm_1000,$@,$<)
$(call mb_link_asm_1000,$@,$<)
$(LEVELS_BIN)/code002.hex: $(LEVELS_BIN)/code002.rel
$(call mod_link_asm_1000,$@,$<)
$(call mb_link_asm_1000,$@,$<)
$(LEVELS_BIN)/code001.dat: $(LEVELS_BIN)/code001.hex
$(call mod_hex2dat,$<,$@)
$(call mb_hex2dat,$<,$@)
$(LEVELS_BIN)/code002.dat: $(LEVELS_BIN)/code002.hex
$(call mod_hex2dat,$<,$@)
$(call mb_hex2dat,$<,$@)
$(LEVELS_BIN)/code.001: $(LEVELS_BIN)/code001.dat
cp $< $@
$(call mb_copy,$<,$@)
$(LEVELS_BIN)/code.002: $(LEVELS_BIN)/code002.dat
cp $< $@
$(call mb_copy,$<,$@)