summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-02-14 00:03:58 -0500
committeryenatch <yenatch@gmail.com>2014-02-14 00:05:01 -0500
commit205c47519171187243d95625878b513bc058964c (patch)
tree8051b064c6028288cb3e34747434ce7971b00e4a
parent89b79575562b5538340c41ebcf16fc7ff72c0971 (diff)
Consolidate rgbfix options between Red and Blue.
Yellow and JP roms will take different options, but this is good for now.
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f7cc2092..7fceae92 100644
--- a/Makefile
+++ b/Makefile
@@ -58,11 +58,14 @@ $(OBJS): $$*.tx $$(patsubst %.asm, %.tx, $$($$*_DEPENDENCIES))
@$(eval TEXTQUEUE :=)
rgbasm -o $@ $*.tx
+
+OPTIONS = -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03
+
pokered.gbc: $(RED_OBJS)
rgblink -n $*.sym -m $*.map -o $@ $^
- rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED" $@
+ rgbfix $(OPTIONS) -t "POKEMON RED" $@
pokeblue.gbc: $(BLUE_OBJS)
rgblink -n $*.sym -m $*.map -o $@ $^
- rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON BLUE" $@
+ rgbfix $(OPTIONS) -t "POKEMON BLUE" $@