mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-11 07:44:47 +13:00
Create .map files, and don't sort .sym files since rgbds 0.4.0 does that
This commit is contained in:
parent
209ecc1919
commit
412d3c7a92
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -12,6 +12,7 @@
|
||||||
*.gb
|
*.gb
|
||||||
|
|
||||||
# rgbds extras
|
# rgbds extras
|
||||||
|
*.map
|
||||||
*.sym
|
*.sym
|
||||||
|
|
||||||
# converted image data
|
# converted image data
|
||||||
|
|
|
||||||
7
Makefile
7
Makefile
|
|
@ -43,12 +43,12 @@ compare: $(roms)
|
||||||
@$(MD5) roms.md5
|
@$(MD5) roms.md5
|
||||||
|
|
||||||
clean:
|
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 {} +
|
find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -exec rm {} +
|
||||||
$(MAKE) clean -C tools/
|
$(MAKE) clean -C tools/
|
||||||
|
|
||||||
tidy:
|
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/
|
$(MAKE) clean -C tools/
|
||||||
|
|
||||||
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"
|
pokeblue_opt = -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON BLUE"
|
||||||
|
|
||||||
%.gbc: $$(%_obj)
|
%.gbc: $$(%_obj)
|
||||||
$(RGBLINK) -d -n $*.sym -l layout.link -o $@ $^
|
$(RGBLINK) -d -m $*.map -n $*.sym -l layout.link -o $@ $^
|
||||||
$(RGBFIX) $($*_opt) $@
|
$(RGBFIX) $($*_opt) $@
|
||||||
sort $*.sym -o $*.sym
|
|
||||||
|
|
||||||
|
|
||||||
### Misc file-specific graphics rules
|
### Misc file-specific graphics rules
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue