Added makefile stolen from team/bashblog and changed its prefix to /usr

This commit is contained in:
Aoi Koizumi (古泉 あおい) 2021-03-15 12:41:49 +00:00
parent c126913cdd
commit 8d09a113ee
1 changed files with 12 additions and 0 deletions

12
Makefile Normal file
View File

@ -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