JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Improve consistency of warning flags between makefiles.
[spectrwm.git] / lib / Makefile
index e7c9ebe..98251ef 100644 (file)
@@ -1,5 +1,3 @@
-#      $scrotwm$
-
 .include <bsd.xconf.mk>
 
 PREFIX?=/usr/local
@@ -9,10 +7,13 @@ NOMAN=        yes
 SRCS=  swm_hack.c
 LIBDIR= ${X11BASE}/lib
 
+CC?= cc
+
 DEBUGLIBS= no
 NOPROFILE= yes
 
-CFLAGS+=-Wall -Wno-uninitialized -ggdb3
+CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g
+CFLAGS+= -fPIC
 CFLAGS+= -I${X11BASE}/include
 
 install: