aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5b7afc4
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+PREFIX ?= $(HOME)/.local
+
+install:
+ mkdir -p $(PREFIX)/bin
+ install -Dm755 src/mojicrypt $(PREFIX)/bin/mojicrypt
+ @echo "installed to $(PREFIX)/bin/mojicrypt"
+
+remove:
+ rm -f $(PREFIX)/bin/mojicrypt
+
+.PHONY: install remove