From dc667fb75a6c77a35263be9578cd90d84117f667 Mon Sep 17 00:00:00 2001 From: stag019 Date: Sat, 14 Jan 2012 15:36:00 -0500 Subject: Another attempt at splitting Red/Blue versions. hg-commit-id: bd7cb987f964 --- Makefile | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'Makefile') 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 -- cgit v1.3.1-sl0p