summaryrefslogtreecommitdiff
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
parent209ecc1919f561e4a0a5a79fb1fbb4956c3338ba (diff)
Create .map files, and don't sort .sym files since rgbds 0.4.0 does that
-rw-r--r--.gitignore1
-rw-r--r--Makefile7
2 files changed, 4 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index e2a884db..dd1b5a9d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@
*.gb
# rgbds extras
+*.map
*.sym
# converted image data
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