mirror of https://git.sr.ht/~rabbits/nasu
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
503 B
28 lines
503 B
ID=nasu |
|
DIR=~/roms |
|
ASM=uxncli ${DIR}/drifblim.rom |
|
LIN=uxncli ${DIR}/uxnlin.rom |
|
EMU=uxnemu |
|
ROM=bin/${ID}.rom |
|
|
|
all: ${ROM} |
|
|
|
clean: |
|
@ rm -f ${ROM} ${ROM}.sym |
|
lint: |
|
@ ${LIN} src/${ID}.tal |
|
test: |
|
@ ${EMU} ${ROM} ako10x10.chr |
|
run: ${ROM} |
|
@ ${EMU} ${ROM} |
|
install: ${ROM} |
|
@ cp ${ROM} ${DIR} |
|
uninstall: |
|
@ rm -f ${DIR}/${ID}.rom |
|
push: ${ROM} |
|
@ ~/bin/butler push ${ROM} hundredrabbits/${ID}:uxn |
|
|
|
.PHONY: all clean lint run install uninstall push |
|
|
|
${ROM}: src/* |
|
@ mkdir -p bin && ${ASM} src/${ID}.tal ${ROM}
|
|
|