shot/Makefile

13 lines
264 B
Makefile

PREFIX?="/usr/local"
BINDIR?="$(PREFIX)/bin"
install:
@echo Installing the executable to $(BINDIR)
@mkdir -p "$(BINDIR)"
@cp -f shot "$(BINDIR)/shot"
@chmod 755 "$(BINDIR)/shot"
uninstall:
@echo Removing the executable from $(BINDIR)
@rm -f $(BINDIR)/shot