use -Wextra and fix the warnings it caused
[gltest.git] / Makefile
index 0322bfba8812f1f471bd924d05038f4f7df64d38..2fa9312d0c33c0721dd45c1b2eb961297af13373 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CFLAGS := -Wall -g -O1
+CFLAGS := -Wall -Wextra -g -O1
 
 COMMON_SRC = gltest.cpp glwindow.cpp glutil.cpp
 COMMON_HDR = glwindow.h glutil.h