pokecrystal-board/Makefile

19 lines
348 B
Makefile
Raw Normal View History

2012-03-04 19:31:27 -08:00
.SUFFIXES: .asm .tx .o .gbc
TEXTFILES =
all: pokecrystal.gbc
pokecrystal.o: pokecrystal.asm main.tx constants.asm ${TEXTFILES}
rgbasm -o pokecrystal.o pokecrystal.asm
.asm.tx:
2012-03-04 23:05:36 -08:00
python textpre.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}