X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=02570ea853e94845fe07c38f644fe82a5653a483;hb=d5224075141e023d53fdede00c48293f9b88c080;hp=56a0d6f8ea65c0c82df15d4e784c418921076dc6;hpb=840cd605d2c9e1d5ab8b8f9da21c8ecc9476efa8;p=spectrwm.git diff --git a/Makefile b/Makefile index 56a0d6f..02570ea 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 scrotwm_it.1 -CFLAGS+= -Wall -Wno-uninitialized +CFLAGS+=-std=c89 -Wall -Wno-uninitialized -ggdb3 CPPFLAGS+= -I${X11BASE}/include -LDADD+=-lutil -L${X11BASE}/lib -lX11 +LDADD+=-lutil -L${X11BASE}/lib -lX11 -lXrandr -MANDIR= ${X11BASE}/man/cat +MANDIR= ${PREFIX}/man/cat obj: _xenocara_obj