build: add install and uninstall targets
This commit is contained in:
9
Makefile
Normal file
9
Makefile
Normal file
@@ -0,0 +1,9 @@
|
||||
PREFIX := /usr/local
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
install -m 755 -D ./agenda $(PREFIX)/bin/agenda
|
||||
|
||||
.PHONY: uninstall
|
||||
uninstall:
|
||||
rm $(PREFIX)/bin/agenda
|
||||
Reference in New Issue
Block a user