pokecrystal-board/Makefile

19 lines
380 B
Makefile
Raw Normal View History

2012-03-04 19:31:27 -08:00
.SUFFIXES: .asm .tx .o .gbc
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 $@ $<
cmp baserom.gbc $@
clean:
rm -f main.tx pokecrystal.o pokecrystal.gbc ${TEXTFILES}