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