Add gbafix from devkitPro/gba-tools

This commit is contained in:
Diegoisawesome
2018-08-29 23:08:57 -05:00
parent 7737025f4e
commit 064216d3be
6 changed files with 969 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ MID := $(abspath tools/mid2agb/mid2agb)
SCANINC := tools/scaninc/scaninc
PREPROC := tools/preproc/preproc
RAMSCRGEN := tools/ramscrgen/ramscrgen
FIX := tools/gbafix/gbafix
# Clear the default suffixes
.SUFFIXES:
@@ -171,5 +172,5 @@ $(ELF): $(OBJ_DIR)/ld_script.ld $(OBJS)
$(ROM): $(ELF)
$(OBJCOPY) -O binary $< $@
gbafix $@ -p -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION)
$(FIX) $@ -p -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION)