ref: 412d3c7a920659615af70097f942e7ffe6d95a21
parent: 209ecc1919f561e4a0a5a79fb1fbb4956c3338ba
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Sat Jun 27 14:05:51 EDT 2020
Create .map files, and don't sort .sym files since rgbds 0.4.0 does that
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@
*.gb
# rgbds extras
+*.map
*.sym
# converted image data
--- a/Makefile
+++ b/Makefile
@@ -43,12 +43,12 @@
@$(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 @@
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