Another attempt at splitting Red/Blue versions.

hg-commit-id: bd7cb987f964
This commit is contained in:
stag019 2012-01-14 15:36:00 -05:00
parent 1113f19b18
commit dc667fb75a
14 changed files with 41496 additions and 41471 deletions

View file

@ -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