summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2021-09-05 18:35:32 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2021-09-05 18:35:32 -0500
commitf487121b269f6e76815b4b7b10d42e823350378d (patch)
treeb1cdb4d71c85765639458b593b9d6858adceac96 /Makefile
parent6f12d24bc9a6e366c41e3154e9cefd2b149fb861 (diff)
downloadplanr-auxiliary-tools-f487121b269f6e76815b4b7b10d42e823350378d.tar.xz
planr-auxiliary-tools-f487121b269f6e76815b4b7b10d42e823350378d.zip
Add makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..5ac7261
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+ifeq ($(PREFIX),)
+ PREFIX := /usr/local
+endif
+
+ifeq ($(BINDIR),)
+ BINDIR := /bin
+endif
+
+CMD=planr-cfg
+
+make:
+
+install:
+ mkdir -p $(DESTDIR)$(PREFIX)$(BINDIR)/
+ install -m 755 $(CMD) $(DESTDIR)$(PREFIX)$(BINDIR)/
+
+uninstall:
+ rm -rf $(DESTDIR)$(PREFIX)$(BINDIR)/$(CMD)
+
+.PHONY: install uninstall make