X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=81dc65e15eb6a12e7ad10d68d0570b6ddf27f8b3;hb=eeb1159872f3b891e006e9815c21b12d621c8ce4;hp=d7ed18f606a3188080bceb5fa98f01168f34aebf;hpb=228c70186157d7184c235f38a72c4a4d9ce77164;p=spectrwm.git diff --git a/Makefile b/Makefile index d7ed18f..81dc65e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ # $scrotwm$ .include +PREFIX?=/usr/local + +BINDIR=${PREFIX}/bin SUBDIR= lib PROG=scrotwm @@ -10,7 +13,7 @@ CFLAGS+=-std=c89 -Wall -Wno-uninitialized -ggdb3 CPPFLAGS+= -I${X11BASE}/include LDADD+=-lutil -L${X11BASE}/lib -lX11 -lXrandr -MANDIR= ${X11BASE}/man/cat +MANDIR= ${PREFIX}/man/cat obj: _xenocara_obj