-Wextra
authorAli H. Fardan <raiz@firemail.cc>
Sun, 21 Aug 2016 08:10:37 +0000 (11:10 +0300)
committerAli H. Fardan <raiz@firemail.cc>
Sun, 21 Aug 2016 08:10:37 +0000 (11:10 +0300)
config.mk

index cdb9656ef69ef076866a17e7fc6735844046f6b5..f01bcdbc056e893ab4147a772ba2803b6f3fc0b8 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -16,7 +16,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lasound
 
 # flags
 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
-CFLAGS = -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
+CFLAGS = -std=c99 -pedantic -Wall -Wextra -O0 ${INCS} ${CPPFLAGS}
 #CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
 LDFLAGS = ${LIBS}
 #LDFLAGS = -s ${LIBS}