uxn-utils/cli/uxndis/makefile

31 lines
535 B
Makefile
Raw Normal View History

2024-06-09 19:27:36 -04:00
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
2024-06-09 20:29:26 -04:00
@ ${EMU} ${ROM} ${ROM}
2024-06-09 19:27:36 -04:00
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}