diff --git a/Makefile b/Makefile index 5068b25..66aef6e 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,8 @@ LIBDIR := ext/tangerine LIB := $(LIBDIR)/build/libTangerine.a CXX := g++ -CXXFLAGS := -std=c++11 -g -ggdb3 -Wall \ +# NOTE: have to set -O or -O1 here to get warnings for uninitialized variables +CXXFLAGS := -std=c++11 -g -ggdb3 -O -Wall -Wuninitialized -pedantic \ -I$(LIBDIR)/include/ \ $(shell sdl2-config --cflags) LDFLAGS := $(shell sdl2-config --libs) -lGLEW -lGL