X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=81dc65e15eb6a12e7ad10d68d0570b6ddf27f8b3;hb=a916f33b0a702bde6ed1db75bb078755f5699180;hp=c16004abc994106df317303deb481fc045e63895;hpb=58096354b15dacd1951cbfab5c061e69c0a859a0;p=spectrwm.git diff --git a/Makefile b/Makefile index c16004a..81dc65e 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,19 @@ # $scrotwm$ .include +PREFIX?=/usr/local + +BINDIR=${PREFIX}/bin +SUBDIR= lib + PROG=scrotwm -NOMAN= -#MAN=scrotwm.1 +MAN=scrotwm.1 scrotwm_es.1 -CFLAGS+= -Wall -Wno-uninitialized +CFLAGS+=-std=c89 -Wall -Wno-uninitialized -ggdb3 CPPFLAGS+= -I${X11BASE}/include -LDADD+=-L${X11BASE}/lib -lX11 +LDADD+=-lutil -L${X11BASE}/lib -lX11 -lXrandr -MANDIR= ${X11BASE}/man/cat +MANDIR= ${PREFIX}/man/cat obj: _xenocara_obj