mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30: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.
|
||||
# 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.
|
||||
compare:
|
||||
compare: red blue
|
||||
@$(MD5) roms.md5
|
||||
|
||||
|
||||
|
@ -84,8 +84,8 @@ $(all_obj): $$*.asm $$($$*_dep)
|
|||
|
||||
# Link objects together to build a rom.
|
||||
|
||||
# Make a symfile for debugging. rgblink will segfault if a mapfile isn't made too.
|
||||
link = rgblink -n poke$*.sym -m poke$*.map
|
||||
# Make a symfile for debugging.
|
||||
link = rgblink -n poke$*.sym
|
||||
|
||||
poke%.gbc: $$(%_obj)
|
||||
$(link) -o $@ $^
|
||||
|
@ -93,5 +93,5 @@ poke%.gbc: $$(%_obj)
|
|||
|
||||
|
||||
clean:
|
||||
rm -f $(roms) $(all_obj)
|
||||
rm -f $(roms) $(all_obj) poke*.sym
|
||||
find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -exec rm {} +
|
||||
|
|
Loading…
Reference in a new issue