aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-04-27 23:41:59 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-04-27 23:41:59 -0700
commiteb51fcb547be06ca8852ba04f83c0dbc4c6c7f9f (patch)
tree67bfe961bbb850ce12b69b91f63fe71633f1f692 /Makefile
parentd4c2f0e1e11052d191f17624a32ce61fd8a35a66 (diff)
downloadpw-eb51fcb547be06ca8852ba04f83c0dbc4c6c7f9f.tar.gz
pw-eb51fcb547be06ca8852ba04f83c0dbc4c6c7f9f.tar.bz2
pw-eb51fcb547be06ca8852ba04f83c0dbc4c6c7f9f.zip
build: install target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9517c1e..109a35f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
CFLAGS ?= -g -O2 -W -Wall -std=c99 -D_POSIX_C_SOURCE=2
+DESTDIR ?= /usr/local
pw:
clean: ; rm -f pw
+install: ; install pw $(DESTDIR)/bin/pw