From 96d6bd9e1761a4635cdeed592cf10f514195ba3f Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Mon, 16 May 2011 14:59:18 -0400 Subject: [PATCH] compile with -Wall --- SConstruct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index ed03465..75c0040 100644 --- a/SConstruct +++ b/SConstruct @@ -3,7 +3,9 @@ import os import sys -env = Environment(LIBS = ['GL', 'GLU']) +env = Environment(LIBS = ['GL', 'GLU'], + CFLAGS = ['-Wall'], + CXXFLAGS = ['-Wall']) env.ParseConfig('sdl-config --cflags --libs') env.Program('wfobj-view', [Glob('*.cc'), Glob('wfobj/WFObj.cc')])