aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2021-10-24 22:46:16 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2021-10-24 22:46:16 -0400
commit6366a4b1f1dea523b666944cb82fcd039fa81823 (patch)
tree540f64b3d1cb0381e4e2211cdb3cc1636114bc14 /Makefile
downloaddpw-6366a4b1f1dea523b666944cb82fcd039fa81823.tar.gz
dpw-6366a4b1f1dea523b666944cb82fcd039fa81823.tar.xz
initial
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..091d068
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+PREFIX ?= /usr/local
+
+all:
+ @echo "targets are:"
+ @echo " install"
+ @echo " uninstall"
+
+install:
+ install -m 755 dpw $(PREFIX)/bin/dpw
+ install -m 755 dpw-gpg $(PREFIX)/bin/dpw-gpg
+
+uninstall:
+ rm "$(PREFIX)/bin/dpw" "$(PREFIX)/bin/dpw-gpg"