about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authoroga <oga>2009-01-11 21:48:27 +0000
committeroga <oga>2009-01-11 21:48:27 +0000
commitc07123ec78c8a9ef8be1a320fd6ccc7f9b0deb51 (patch)
tree2a0846630316016e8143fe8b7359054e5939b11f /Makefile
parentd1050afb6001ef6134b816b21867466195153ecb (diff)
downloadcwm-c07123ec78c8a9ef8be1a320fd6ccc7f9b0deb51.tar.gz
cwm-c07123ec78c8a9ef8be1a320fd6ccc7f9b0deb51.tar.xz
cwm-c07123ec78c8a9ef8be1a320fd6ccc7f9b0deb51.zip
Add -Wall to CFLAGS, it's helped find a few dodgy constructs.
ok okan@.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7969398..2022dd1 100644
--- a/Makefile
+++ b/Makefile
@@ -10,6 +10,8 @@ SRCS=		calmwm.c screen.c xmalloc.c client.c menu.c \
 
 CPPFLAGS+=	-I${X11BASE}/include -I${X11BASE}/include/freetype2 -I${.CURDIR}
 
+CFLAGS+=	-Wall
+
 LDADD+=		-L${X11BASE}/lib -lXft -lXrender -lX11 -lXau -lXdmcp -lXext \
 		-lfontconfig -lexpat -lfreetype -lz -lXinerama -lXrandr