2011-12-30 00:09:44 +00:00
|
|
|
.SUFFIXES: .asm .tx .o .gbc
|
2010-01-05 00:58:43 +00:00
|
|
|
|
2011-12-27 01:40:25 +00:00
|
|
|
TEXTFILES = text/oakspeech.tx text/pokedex.tx text/mapRedsHouse1F.tx \
|
|
|
|
text/mapBluesHouse.tx text/mapPalletTown.tx
|
2011-12-17 06:54:36 +00:00
|
|
|
|
2011-12-30 00:09:44 +00:00
|
|
|
all: pokered.gbc
|
2010-03-19 06:18:39 +00:00
|
|
|
|
2012-01-26 04:33:42 +00:00
|
|
|
pokered.o: pokered.asm main.tx constants.asm ${TEXTFILES}
|
2012-01-14 20:36:00 +00:00
|
|
|
rgbasm -o pokered.o pokered.asm
|
|
|
|
|
2012-01-26 04:33:42 +00:00
|
|
|
pokeblue.o: pokeblue.asm main.tx constants.asm ${TEXTFILES}
|
2012-01-14 20:36:00 +00:00
|
|
|
rgbasm -o pokeblue.o pokeblue.asm
|
2011-12-21 07:31:01 +00:00
|
|
|
|
2011-02-19 07:10:08 +00:00
|
|
|
redrle: extras/redrle.c
|
|
|
|
${CC} -o $@ $>
|
|
|
|
|
2011-12-27 01:40:25 +00:00
|
|
|
.asm.tx:
|
2012-03-15 23:26:36 +00:00
|
|
|
python textpre.py < $< > $@
|
2011-12-30 00:09:44 +00:00
|
|
|
|
2012-01-14 20:36:00 +00:00
|
|
|
pokered.gbc: pokered.o
|
2012-12-03 02:34:19 +00:00
|
|
|
rgblink -o $@ $*.o
|
2011-12-30 00:09:44 +00:00
|
|
|
rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED" $@
|
|
|
|
cmp baserom.gbc $@
|
2012-01-14 20:36:00 +00:00
|
|
|
|
|
|
|
pokeblue.gbc: pokeblue.o
|
2012-12-03 02:34:19 +00:00
|
|
|
rgblink -o $@ $*.o
|
2012-01-14 20:36:00 +00:00
|
|
|
rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON BLUE" $@
|
2013-03-12 02:46:32 +00:00
|
|
|
cmp blue.gbc $@
|
2011-12-27 01:40:25 +00:00
|
|
|
|
2010-01-05 00:58:43 +00:00
|
|
|
clean:
|
2012-01-26 04:33:42 +00:00
|
|
|
rm -f main.tx pokered.o pokered.gbc pokeblue.o pokeblue.gbc redrle ${TEXTFILES}
|
2012-01-14 20:36:00 +00:00
|
|
|
|
2012-01-15 17:26:12 +00:00
|
|
|
more: pokered.gbc pokeblue.gbc
|