aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-27 18:05:51 -0400
committerRangi <35663410+Rangi42@users.noreply.github.com>2020-06-27 21:43:32 -0400
commit412d3c7a920659615af70097f942e7ffe6d95a21 (patch)
tree094aa4a8a29aed6410416420423548862cdca6a1 /Makefile
parentMerge pic/ into gfx/ (diff)
downloadpokeyellow-412d3c7a920659615af70097f942e7ffe6d95a21.tar.gz
pokeyellow-412d3c7a920659615af70097f942e7ffe6d95a21.tar.xz
pokeyellow-412d3c7a920659615af70097f942e7ffe6d95a21.zip
Create .map files, and don't sort .sym files since rgbds 0.4.0 does that
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 20462319..06cbcd7a 100644
--- a/Makefile
+++ b/Makefile
@@ -43,12 +43,12 @@ compare: $(roms)
@$(MD5) roms.md5
clean:
- rm -f $(roms) $(pokered_obj) $(pokeblue_obj) $(roms:.gbc=.sym)
+ rm -f $(roms) $(pokered_obj) $(pokeblue_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -exec rm {} +
$(MAKE) clean -C tools/
tidy:
- rm -f $(roms) $(pokered_obj) $(pokeblue_obj) $(roms:.gbc=.sym)
+ rm -f $(roms) $(pokered_obj) $(pokeblue_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym)
$(MAKE) clean -C tools/
tools:
@@ -76,9 +76,8 @@ pokered_opt = -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED"
pokeblue_opt = -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON BLUE"
%.gbc: $$(%_obj)
- $(RGBLINK) -d -n $*.sym -l layout.link -o $@ $^
+ $(RGBLINK) -d -m $*.map -n $*.sym -l layout.link -o $@ $^
$(RGBFIX) $($*_opt) $@
- sort $*.sym -o $*.sym
### Misc file-specific graphics rules