From 7221151ca7ffb62d48c2e5de56cc3f026fa4caa6 Mon Sep 17 00:00:00 2001 From: throwaway96 <68320646+throwaway96@users.noreply.github.com> Date: Sat, 20 Apr 2024 14:58:06 -0400 Subject: [PATCH] add Makefile --- .gitattributes | 1 + .gitignore | 1 + Makefile | 13 +++++++++++++ 3 files changed, 15 insertions(+) create mode 100644 Makefile diff --git a/.gitattributes b/.gitattributes index fe7dbd1..0715dcf 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,6 +5,7 @@ *.mp3 binary *.lrc binary +Makefile text eol=lf *.md text /COPYING text /.gitignore text diff --git a/.gitignore b/.gitignore index 8f1faee..1573d7a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /.vscode/ +/dejavuln-autoroot.zip diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..53d6ac1 --- /dev/null +++ b/Makefile @@ -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)'