aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorU-Daniel-Laptop\Daniel <corrnondacqb@yahoo.com>2014-01-08 13:05:02 -0600
committerU-Daniel-Laptop\Daniel <corrnondacqb@yahoo.com>2014-01-08 13:05:02 -0600
commita2084b200c7a1ff245d687834b6e6e973881c830 (patch)
tree6ecefddd86e17a265b9e751b3cfc253c0d6d5444 /Makefile
parentMerge branch 'master' of https://github.com/huderlem/pokered (diff)
parentMakefile: baserom compare is optional (diff)
downloadpokeyellow-a2084b200c7a1ff245d687834b6e6e973881c830.tar.gz
pokeyellow-a2084b200c7a1ff245d687834b6e6e973881c830.tar.xz
pokeyellow-a2084b200c7a1ff245d687834b6e6e973881c830.zip
Merge branch 'master' of https://github.com/dannye/pokered
Conflicts: main.asm
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 3a31e258..0d2d88df 100644
--- 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 @@ $(shell $(foreach obj, $(OBJS), \
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 @@ $(OBJS): $$*.tx $$(patsubst %.asm, %.tx, $$($$*_DEPENDENCIES))
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 $@