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