From 8d09a113eecb0946fa9945e9bfafc21ee4086d41 Mon Sep 17 00:00:00 2001 From: Nova Date: Mon, 15 Mar 2021 12:41:49 +0000 Subject: [PATCH] Added makefile stolen from team/bashblog and changed its prefix to /usr --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..90216b5 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +PREFIX ?= /usr +BINDIR ?= $(PREFIX)/bin + +install: + $(info Installing the executable to $(BINDIR)) + @install -Dm755 bb.sh $(BINDIR)/bb + +uninstall: + $(info Removing the executable from $(BINDIR)) + @rm -f $(BINDIR)/bb + +.PHONY: install uninstall