X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=e4034ad076768efc36ab532a92580012ab51eff5;hb=3cd1a5315bccb23e07468e11cfafe1340ca347bf;hp=8c02a05ff98614701db3407a87a6e84686bd0d48;hpb=edf59bc088a05467b7e9a6b7edc6b3956a88fd9a;p=spectrwm.git diff --git a/Makefile b/Makefile index 8c02a05..e4034ad 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,21 @@ # $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 scrotwm_ru.1 -CFLAGS+=-Wall -Wno-uninitialized -ggdb3 +CFLAGS+=-std=c89 -Wall -Wno-uninitialized -ggdb3 +# Uncomment define below to disallow user settable clock format string +#CFLAGS+=-DSWM_DENY_CLOCK_FORMAT CPPFLAGS+= -I${X11BASE}/include LDADD+=-lutil -L${X11BASE}/lib -lX11 -lXrandr -MANDIR= ${X11BASE}/man/cat +MANDIR= ${PREFIX}/man/cat obj: _xenocara_obj