shithub: pokered

Download patch

ref: 65245542c7e6f8b1c0bdb46354285dbde32c67ab
parent: 628da34ae7c5f8acf4436098752b593373fcb4d3
author: yenatch <yenatch@gmail.com>
date: Sat Jan 4 02:31:13 EST 2014

Makefile: baserom compare is optional

--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PYTHON := python
 .SUFFIXES: .asm .tx .o .gbc
-.PHONY: all clean red blue
+.PHONY: all clean red blue compare
 .SECONDEXPANSION:
 
 
@@ -24,6 +24,8 @@
 all: $(ROMS)
 red:  pokered.gbc
 blue: pokeblue.gbc
+compare: baserom.gbc pokered.gbc
+	cmp $^
 
 redrle: extras/redtools/redrle.c
 	${CC} -o $@ $>
@@ -56,10 +58,8 @@
 pokered.gbc: globals.tx $(RED_OBJS)
 	rgblink -n $*.sym -m $*.map -o $@ $(RED_OBJS)
 	rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED" $@
-	cmp baserom.gbc $@
 
 pokeblue.gbc: globals.tx $(BLUE_OBJS)
 	rgblink -n $*.sym -m $*.map -o $@ $(BLUE_OBJS)
 	rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON BLUE" $@
-	cmp blue.gbc $@