shithub: pokered

ref: 35a33bf3d73e376f8d2c7f0871c56c4aac06fcca
dir: /Makefile/

View raw version
pokered.gbc: pokered.o
	rgblink -o pokered.gbc pokered.o
	rgbfix -jsv -k 01 -l 0x33 -m 0x13 -p 0 -r 03 -t "POKEMON RED" \
		pokered.gbc
	cmp baserom.gbc pokered.gbc

pokered.o: pokered1.asm constants.asm
	rgbasm -o pokered.o pokered1.asm

pokered1.asm: pokered.asm
	awk -f textpre.awk < pokered.asm > pokered1.asm

redrle: extras/redrle.c
	${CC} -o $@ $>

clean:
	rm -f pokered1.asm pokered.o pokered.gbc redrle