ref: 5b7c8541db9fac9c74508541c9199223fdae4c21
parent: 49a25618ea7316741b7838f111da311ba66a381c
parent: 6e8f6f66c111927160364be937ddbd3f9894fd67
author: Daniel Harding <corrnondacqb@yahoo.com>
date: Fri Jan 23 02:35:07 EST 2015
Merge pull request #66 from stag019/master Some Makefile stuff
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@
# 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 @@
# 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 @@
clean:
- rm -f $(roms) $(all_obj)
+ rm -f $(roms) $(all_obj) poke*.sym
find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -exec rm {} +