summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Harding <corrnondacqb@yahoo.com>2015-01-23 07:35:07 -0500
committerDaniel Harding <corrnondacqb@yahoo.com>2015-01-23 07:35:07 -0500
commit5b7c8541db9fac9c74508541c9199223fdae4c21 (patch)
tree12c53cc7eb3d26cea0301bd80639d28a1e2d6298
parent49a25618ea7316741b7838f111da311ba66a381c (diff)
parent6e8f6f66c111927160364be937ddbd3f9894fd67 (diff)
Merge pull request #66 from stag019/master
Some Makefile stuff
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index ddb9d88e..5cc485c1 100644
--- a/Makefile
+++ b/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 {} +