2012-03-05 03:31:27 +00:00
|
|
|
.SUFFIXES: .asm .tx .o .gbc
|
|
|
|
|
2012-05-23 03:56:20 +00:00
|
|
|
TEXTFILES = text/sweethoney.tx
|
2012-03-05 03:31:27 +00:00
|
|
|
|
|
|
|
all: pokecrystal.gbc
|
|
|
|
|
2012-03-21 04:23:40 +00:00
|
|
|
pokecrystal.o: pokecrystal.asm main.tx constants.asm wram.asm ${TEXTFILES}
|
2012-03-05 03:31:27 +00:00
|
|
|
rgbasm -o pokecrystal.o pokecrystal.asm
|
|
|
|
|
|
|
|
.asm.tx:
|
2012-04-26 21:58:20 +00:00
|
|
|
python preprocessor.py < $< > $@
|
2012-03-05 03:31:27 +00:00
|
|
|
|
|
|
|
pokecrystal.gbc: pokecrystal.o
|
|
|
|
rgblink -o $@ $<
|
|
|
|
cmp baserom.gbc $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f main.tx pokecrystal.o pokecrystal.gbc ${TEXTFILES}
|