Add -Wall to CFLAGS, it's helped find a few dodgy constructs.
ok okan@.
This commit is contained in:
parent
b1941d120c
commit
1b62620f13
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: Makefile,v 1.13 2009/01/11 18:34:46 okan Exp $
|
# $OpenBSD: Makefile,v 1.14 2009/01/11 21:48:27 oga Exp $
|
||||||
|
|
||||||
.include <bsd.xconf.mk>
|
.include <bsd.xconf.mk>
|
||||||
|
|
||||||
@ -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}
|
CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2 -I${.CURDIR}
|
||||||
|
|
||||||
|
CFLAGS+= -Wall
|
||||||
|
|
||||||
LDADD+= -L${X11BASE}/lib -lXft -lXrender -lX11 -lXau -lXdmcp -lXext \
|
LDADD+= -L${X11BASE}/lib -lXft -lXrender -lX11 -lXau -lXdmcp -lXext \
|
||||||
-lfontconfig -lexpat -lfreetype -lz -lXinerama -lXrandr
|
-lfontconfig -lexpat -lfreetype -lz -lXinerama -lXrandr
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user