JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Improve consistency of warning flags between makefiles.
[spectrwm.git] / lib / Makefile
index 1442460..98251ef 100644 (file)
@@ -1,16 +1,19 @@
-#      $scrotwm$
-
 .include <bsd.xconf.mk>
 
+PREFIX?=/usr/local
+
 LIB=    swmhack
 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: