28 lines
454 B
Makefile
28 lines
454 B
Makefile
|
ID=teatime
|
||
|
DIR=~/roms
|
||
|
ASM=uxncli ${DIR}/drifblim.rom
|
||
|
LIN=uxncli ${DIR}/uxnlin.rom
|
||
|
EMU=uxn11
|
||
|
ROM=bin/${ID}.rom
|
||
|
|
||
|
all: ${ROM}
|
||
|
|
||
|
lint:
|
||
|
@ ${LIN} ${ID}.tal
|
||
|
run: all
|
||
|
@ ${EMU} ${ROM}
|
||
|
clean:
|
||
|
@ rm -f ${ROM} ${ROM}.sym
|
||
|
install: ${ROM}
|
||
|
@ cp ${ROM} ${DIR}
|
||
|
uninstall:
|
||
|
@ rm -f ${DIR}/${ID}.rom
|
||
|
archive: all
|
||
|
@ cp ${ID}.tal ../../../oscean/etc/${ID}.tal.txt
|
||
|
|
||
|
.PHONY: all clean lint run install uninstall archive
|
||
|
|
||
|
${ROM}: *
|
||
|
@ mkdir -p bin
|
||
|
@ ${ASM} ${ID}.tal ${ROM}
|