diff --git a/Makefile b/Makefile index 79782d5..ddde8fb 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ SHELL = /bin/sh 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 -Wall -O -Wall -Wuninitialized \ -Iinclude \ -I/usr/include/SDL2 \ -Iext/stb_libs \