aboutsummaryrefslogtreecommitdiff
path: root/ports/unix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ports/unix/Makefile')
-rw-r--r--ports/unix/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/ports/unix/Makefile b/ports/unix/Makefile
index 948cdd0c4..1e0a38ca2 100644
--- a/ports/unix/Makefile
+++ b/ports/unix/Makefile
@@ -248,3 +248,12 @@ axtls: $(TOP)/lib/axtls/README
$(TOP)/lib/axtls/README:
@echo "You cloned without --recursive, fetching submodules for you."
(cd $(TOP); git submodule update --init --recursive)
+
+PREFIX = /usr/local
+BINDIR = $(DESTDIR)$(PREFIX)/bin
+
+install: $(PROG)
+ install -D $(PROG) $(BINDIR)/$(PROG)
+
+uninstall:
+ -rm $(BINDIR)/$(PROG)