-# $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: