add Makefile

This commit is contained in:
cremesk 2019-07-13 15:59:49 +02:00
parent 8fd287cf7b
commit c74fe45c80
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 14 additions and 0 deletions

14
Makefile Normal file
View File

@ -0,0 +1,14 @@
BINDIR ?= /usr/local/bin
install:
@echo Installing the executable to $(BINDIR)
@mkdir -p $(BINDIR)
@cp -f bb.sh $(BINDIR)/bb
@chmod 755 $(BINDIR)/bb
uninstall:
@echo Removing the executable from $(BINDIR)
@rm -f $(BINDIR)/bb
.PHONY: install uninstall