summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorseth <[email protected]>2022-02-11 07:23:18 -0500
committerseth <[email protected]>2022-02-11 07:26:01 -0500
commitb26290d5bfa969e860a2cbe310545111db55f850 (patch)
tree42c6d1625018aee87821e6d58a74af4dd505a824 /Makefile
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..fb0b151
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+PREFIX ?= /usr/local
+
+all:
+ @echo RUN \'make PREFIX="$HOME/.local"\' to install
+
+install:
+ @install -Dm755 btupdater $(DESTDIR)$(PREFIX)/bin/btupdater
+
+uninstall:
+ @rm -rf $(DESTDIR)$(PREFIX)/bin/btupdater