summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 61be941..52a8e09 100644
--- a/Makefile
+++ b/Makefile
@@ -5,3 +5,13 @@ SOURCES = newmac.c
snowball-mactool: $(SOURCES)
$(CC) -static $(SOURCES) -o $@
+
+prefix := /usr/local
+
+install:
+ install -d $(DESTDIR)/$(prefix)/bin
+ install -m 0775 snowball-mactool $(DESTDIR)/$(prefix)/bin
+
+clean:
+ rm -rf snowball-mactool
+