add Makefile

This commit is contained in:
throwaway96 2024-04-20 14:58:06 -04:00
parent f29a7bd688
commit 7221151ca7
3 changed files with 15 additions and 0 deletions

1
.gitattributes vendored
View File

@ -5,6 +5,7 @@
*.mp3 binary
*.lrc binary
Makefile text eol=lf
*.md text
/COPYING text
/.gitignore text

1
.gitignore vendored
View File

@ -1 +1,2 @@
/.vscode/
/dejavuln-autoroot.zip

13
Makefile Normal file
View File

@ -0,0 +1,13 @@
ZIPOUT = dejavuln-autoroot.zip
FILES = autoroot.sh hbchannel-0.6.3.ipk lol$$(sh$$IFS/tmp/usb/sda/sda1/autoroot.sh).mp3 lol$$(sh$$IFS/tmp/usb/sda/sda1/autoroot.sh).lrc
.PHONY: all
all: $(ZIPOUT)
$(ZIPOUT): $(FILES)
zip '$(@)' $(foreach f,$^,'$(f)')
.PHONY: clean
clean:
rm -f -- '$(ZIPOUT)'