ID=uxndis DIR=~/roms ASM=uxncli ${DIR}/drifblim.rom LIN=uxncli ${DIR}/uxnlin.rom BAL=uxncli ${DIR}/uxnbal.rom EMU=uxncli ROM=bin/${ID}.rom all: ${ROM} lint: @ ${LIN} src/${ID}.tal bal: @ ${BAL} src/${ID}.tal run: all @ ${EMU} ${ROM} ${ROM} clean: @ rm -f ${ROM} ${ROM}.sym install: all @ cp ${ROM} ${DIR} uninstall: @ rm -f ${DIR}/${ID}.rom archive: all @ cp src/${ID}.tal ../../../oscean/etc/${ID}.tal.txt .PHONY: all clean lint run install uninstall archive ${ROM}: src/${ID}.tal @ mkdir -p bin && ${ASM} src/${ID}.tal ${ROM}