bashblog/Makefile

13 lines
247 B
Makefile
Raw Normal View History

2020-02-04 00:08:46 +00:00
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
install:
2020-02-04 00:08:46 +00:00
$(info Installing the executable to $(BINDIR))
@install -Dm755 bb.sh $(BINDIR)/bb
uninstall:
2020-02-04 00:08:46 +00:00
$(info Removing the executable from $(BINDIR))
@rm -f $(BINDIR)/bb
.PHONY: install uninstall