(m291) Added archive cmd

This commit is contained in:
Devine Lu Linvega 2024-08-26 20:24:11 -07:00
parent 4e38e59b80
commit 1062f0e525
1 changed files with 4 additions and 2 deletions

View File

@ -17,8 +17,10 @@ install: ${ROM}
@ cp ${ROM} ${DIR}
uninstall:
@ rm -f ${DIR}/${ID}.rom
archive: all
@ cp ${ID}.tal ../../../oscean/etc/${ID}.tal.txt
archive:
cat src/${ID}.tal src/assets.tal | sed 's/~[^[:space:]]\+//' > ~/Git/oscean/etc/${ID}.tal.txt
uxnasm ~/Git/oscean/etc/${ID}.tal.txt ${ROM}
@ ${EMU} ${ROM}
.PHONY: all clean lint run install uninstall archive