pokecrystal-board/Makefile
2012-03-04 21:31:27 -06:00

22 lines
385 B
Makefile

#gawk sort order
export LC_CTYPE=C
.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:
awk -f textpre.awk < $< > $@
pokecrystal.gbc: pokecrystal.o
rgblink -o $@ $<
cmp baserom.gbc $@
clean:
rm -f main.tx pokecrystal.o pokecrystal.gbc ${TEXTFILES}