X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=c18bff23d5e8529d0e9a8f40fcb4f3763b1bfa8d;hb=c2a4935a927a5bd0fcd4b9d086bf2e07c2155122;hp=69bf94bd4500e8c87087c5e6fd3e962d6939cbd7;hpb=7552391bb7b55cab35fe57f1ddd9f6c0338495a7;p=spectrwm.git diff --git a/Makefile b/Makefile index 69bf94b..c18bff2 100644 --- a/Makefile +++ b/Makefile @@ -9,11 +9,11 @@ PROG=spectrwm #MAN=spectrwm_pt.1 spectrwm_ru.1 spectrwm_es.1 spectrwm_it.1 MAN=spectrwm.1 -CFLAGS+=-std=gnu89 -Wall -Wno-uninitialized -g +CFLAGS+=-std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g # 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-xcb -lxcb-keysyms -lxcb-randr -lxcb-icccm -lXrandr -lXtst +CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2 +LDADD+=-lutil -L${X11BASE}/lib -lX11 -lX11-xcb -lxcb-aux -lxcb-icccm -lxcb-keysyms -lxcb-randr -lxcb-xtest -lXft -lXcursor BUILDVERSION != sh "${.CURDIR}/buildver.sh" .if !${BUILDVERSION} == "" CPPFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"