bashblog/Makefile

13 lines
241 B
Makefile

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