uxn-utils/cli/uxndis/makefile

31 lines
541 B
Makefile
Raw Permalink 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
2024-06-11 11:47:17 -04:00
@ cp src/${ID}.tal ../../../oscean/etc/${ID}.tal.txt
2024-06-09 19:27:36 -04:00
.PHONY: all clean lint run install uninstall archive
${ROM}: src/${ID}.tal
@ mkdir -p bin && ${ASM} src/${ID}.tal ${ROM}