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..7d6197d --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +VERSION := 0.1.1 +DEBARCHS := amd64 i386 armhf +EXECUTEABLES := $(DEBARCHS:%=vanity.%) + +all: $(EXECUTEABLES) + +vanity.%: vanity_linux_%.gz + cat $< | gunzip > $@ + +vanity_linux_%.gz: + wget -nc "https://github.com/xiam/vanity/releases/download/v$(VERSION)/$(shell echo $@ | sed s/i386/386/ | sed s/armhf/arm/)" -O $@ + +clean: + rm -f vanity.* + rm -f vanity_linux_*.gz |