shithub: pokered

ref: 63b7b8e783578afd8034e1bf56abe73f3e329ab4
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