11.1Stsutsui 21.1Stsutsui#### xplx 31.1Stsutsui 41.1StsutsuiTOOL_AWK?= awk 51.1StsutsuiTOOL_HEXDUMP?= hexdump 61.1Stsutsui 71.1StsutsuiZASM?= zasm # see "used language" comments in xplx.asm 81.1Stsutsui 91.1Stsutsui.PHONY: all 101.1Stsutsuiall: xplx.inc xplxdefs.h # xplxfirm.o 111.1Stsutsui 121.1Stsutsuixplx.rom xplx.lst: xplx.asm 131.1Stsutsui ${ZASM} -uwy xplx.asm || (rm -f xplx.rom xplx.lst ; exit 1) 141.1Stsutsui 151.1Stsutsuixplx.inc: xplx.rom 161.1Stsutsui ${TOOL_HEXDUMP} -Cv xplx.rom | ${TOOL_AWK} -f cdump.awk > ${.TARGET}.tmp 171.1Stsutsui mv ${.TARGET}.tmp ${.TARGET} 181.1Stsutsui 191.1Stsutsuixplxfirm.o: ../xplxfirm.c xplx.inc 201.1Stsutsui ${CC} ${CFLAGS} -c ../xplxfirm.c -o ${.TARGET} 211.1Stsutsui 221.1Stsutsuixplxdefs.h: mkdefs.awk xplx.lst 231.1Stsutsui ${TOOL_AWK} -f mkdefs.awk < xplx.lst > ${.TARGET}.tmp 241.1Stsutsui mv ${.TARGET}.tmp ${.TARGET} 251.1Stsutsui 261.1Stsutsui.PHONY: clean 271.1Stsutsuiclean: 281.1Stsutsui rm -f xplxfirm.o xplx.rom xplx.lst xplx.inc 291.1Stsutsui rm -f *.tmp 30