X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=e4034ad076768efc36ab532a92580012ab51eff5;hb=dc26d154369486e25e9d12ffbc1a3d7894e30d10;hp=eec027437f24ca4ff1c674a10778ecd12a813f96;hpb=27801d38e0c340781f7fb1e96e7da62f5d36357a;p=spectrwm.git diff --git a/Makefile b/Makefile index eec0274..e4034ad 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +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+=-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+=-L${X11BASE}/lib -lX11 +LDADD+=-lutil -L${X11BASE}/lib -lX11 -lXrandr -MANDIR= ${X11BASE}/man/cat +MANDIR= ${PREFIX}/man/cat obj: _xenocara_obj