0
0
mirror of https://github.com/tj/n.git synced 2024-11-24 19:46:56 +01:00
n/Makefile
Kaíque Kandy Koga ca8d624474
$< make (#745)
* Apparently $< is not working propertly on FreeBSD.
Changing the Makefile from $< to bin/n works.

* Simplify mkdir
2022-11-03 20:08:28 +13:00

11 lines
149 B
Makefile

PREFIX ?= /usr/local
install: bin/n
mkdir -p $(PREFIX)/bin
cp bin/n $(PREFIX)/bin/n
uninstall:
rm -f $(PREFIX)/bin/n
.PHONY: install uninstall