diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d685381 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +VERSION := 0.0.23 +DEBARCHS := amd64 i386 armhf arm64 +EXECUTEABLES := $(DEBARCHS:%=acmetool.%) + +all: $(EXECUTEABLES) + +acmetool.%: acmetool-v$(VERSION)-linux_%.tar.gz + tar -xzf $< -O > $@ + +acmetool-v$(VERSION)-linux_%.tar.gz: + wget -nc "https://github.com/hlandau/acme/releases/download/v$(VERSION)/$(shell echo $@ | sed s/i386/386/ | sed s/armhf/arm/)" -O $@ + +clean: + rm -f acmetool.* + rm -f acmetool-*.tar.gz |