summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 39458890..7404b899 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,11 @@ TEXTFILES = text/oakspeech.tx text/pokedex.tx text/mapRedsHouse1F.tx \
all: pokered.gbc
-pokered.o: pokered.tx constants.asm ${TEXTFILES}
- rgbasm -o pokered.o pokered.tx
+pokered.o: pokered.asm common.tx constants.asm ${TEXTFILES}
+ rgbasm -o pokered.o pokered.asm
+
+pokeblue.o: pokeblue.asm common.tx constants.asm ${TEXTFILES}
+ rgbasm -o pokeblue.o pokeblue.asm
redrle: extras/redrle.c
${CC} -o $@ $>
@@ -14,10 +17,16 @@ redrle: extras/redrle.c
.asm.tx:
awk -f textpre.awk < $< > $@
-.o.gbc:
+pokered.gbc: pokered.o
rgblink -o $@ $<
rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED" $@
cmp baserom.gbc $@
+
+pokeblue.gbc: pokeblue.o
+ rgblink -o $@ $<
+ rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON BLUE" $@
clean:
- rm -f pokered.tx pokered.o pokered.gbc redrle ${TEXTFILES}
+ rm -f common.tx pokered.o pokered.gbc pokeblue.o pokeblue.gbc redrle ${TEXTFILES}
+
+more: pokered.gbc pokeblue.gbc \ No newline at end of file