2012-03-04 19:31:27 -08:00
|
|
|
.SUFFIXES: .asm .tx .o .gbc
|
|
|
|
|
2012-05-22 20:56:20 -07:00
|
|
|
TEXTFILES = text/sweethoney.tx
|
2012-03-04 19:31:27 -08:00
|
|
|
|
|
|
|
all: pokecrystal.gbc
|
|
|
|
|
2012-03-20 21:23:40 -07:00
|
|
|
pokecrystal.o: pokecrystal.asm main.tx constants.asm wram.asm ${TEXTFILES}
|
2012-03-04 19:31:27 -08:00
|
|
|
rgbasm -o pokecrystal.o pokecrystal.asm
|
|
|
|
|
|
|
|
.asm.tx:
|
2012-04-26 14:58:20 -07:00
|
|
|
python preprocessor.py < $< > $@
|
2012-03-04 19:31:27 -08:00
|
|
|
|
|
|
|
pokecrystal.gbc: pokecrystal.o
|
|
|
|
rgblink -o $@ $<
|
2012-05-30 12:13:14 -07:00
|
|
|
rgbfix -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL $@
|
2012-03-04 19:31:27 -08:00
|
|
|
cmp baserom.gbc $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f main.tx pokecrystal.o pokecrystal.gbc ${TEXTFILES}
|