X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=6b3c93f7a1d9997148415cde7d33016315cd7b49;hb=f31159407e2b8ceebfed9330fdf36db5d9ab54d0;hp=c9c82fc19c45bfd3ee34e1de5b83e0c02583e4f4;hpb=a74952e12f9a8f483f5781e951d4210b2206ee1e;p=spectrwm.git diff --git a/Makefile b/Makefile index c9c82fc..6b3c93f 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,25 @@ -# $epitome$ +# $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_pt.1 scrotwm_ru.1 +MAN=scrotwm.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 -lXtst + +MANDIR= ${PREFIX}/man/man -MANDIR= ${X11BASE}/man/cat +#scrotwm_ru.cat1: scrotwm_ru.1 +# nroff -mandoc ${.CURDIR}/scrotwm_ru.1 > ${.TARGET} obj: _xenocara_obj