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
|
|
|
|
2011-12-27 01:40:25 +00:00
|
|
|
pokered.o: pokered.tx constants.asm ${TEXTFILES}
|
|
|
|
rgbasm -o pokered.o pokered.tx
|
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:
|
2011-12-30 00:09:44 +00:00
|
|
|
awk -f textpre.awk < $< > $@
|
|
|
|
|
|
|
|
.o.gbc:
|
|
|
|
rgblink -o $@ $<
|
|
|
|
rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED" $@
|
|
|
|
cmp baserom.gbc $@
|
2011-12-27 01:40:25 +00:00
|
|
|
|
2010-01-05 00:58:43 +00:00
|
|
|
clean:
|
2011-12-27 01:40:25 +00:00
|
|
|
rm -f pokered.tx pokered.o pokered.gbc redrle ${TEXTFILES}
|