mirror of
https://github.com/pret/pokered.git
synced 2024-10-23 06:58:24 +00:00
18bf34ec0b
hg-commit-id: 59e6e303019d
21 lines
497 B
Makefile
21 lines
497 B
Makefile
.SUFFIXES: .asm .tx
|
|
|
|
TEXTFILES = text/oakspeech.tx text/pokedex.tx text/mapRedsHouse1F.tx \
|
|
text/mapBluesHouse.tx text/mapPalletTown.tx
|
|
|
|
pokered.gbc: pokered.o
|
|
rgblink -o $@ $>
|
|
rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED" $@
|
|
cmp baserom.gbc $@
|
|
|
|
pokered.o: pokered.tx constants.asm ${TEXTFILES}
|
|
rgbasm -o pokered.o pokered.tx
|
|
|
|
redrle: extras/redrle.c
|
|
${CC} -o $@ $>
|
|
|
|
.asm.tx:
|
|
awk -f textpre.awk < $> > $@
|
|
|
|
clean:
|
|
rm -f pokered.tx pokered.o pokered.gbc redrle ${TEXTFILES}
|