mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
commit
5b7c8541db
8
Makefile
8
Makefile
|
@ -32,7 +32,7 @@ MD5 := md5sum -c --quiet
|
||||||
# The compare target is a shortcut to check that the build matches the original roms exactly.
|
# The compare target is a shortcut to check that the build matches the original roms exactly.
|
||||||
# This is for contributors to make sure a change didn't affect the contents of the rom.
|
# This is for contributors to make sure a change didn't affect the contents of the rom.
|
||||||
# More thorough comparison can be made by diffing the output of hexdump -C against both roms.
|
# More thorough comparison can be made by diffing the output of hexdump -C against both roms.
|
||||||
compare:
|
compare: red blue
|
||||||
@$(MD5) roms.md5
|
@$(MD5) roms.md5
|
||||||
|
|
||||||
|
|
||||||
|
@ -84,8 +84,8 @@ $(all_obj): $$*.asm $$($$*_dep)
|
||||||
|
|
||||||
# Link objects together to build a rom.
|
# Link objects together to build a rom.
|
||||||
|
|
||||||
# Make a symfile for debugging. rgblink will segfault if a mapfile isn't made too.
|
# Make a symfile for debugging.
|
||||||
link = rgblink -n poke$*.sym -m poke$*.map
|
link = rgblink -n poke$*.sym
|
||||||
|
|
||||||
poke%.gbc: $$(%_obj)
|
poke%.gbc: $$(%_obj)
|
||||||
$(link) -o $@ $^
|
$(link) -o $@ $^
|
||||||
|
@ -93,5 +93,5 @@ poke%.gbc: $$(%_obj)
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(roms) $(all_obj)
|
rm -f $(roms) $(all_obj) poke*.sym
|
||||||
find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -exec rm {} +
|
find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -exec rm {} +
|
||||||
|
|
Loading…
Reference in a new issue