Browse Source

update Makefile so g++ gives unitialized variable warnings

main
cinnaboot 4 years ago
parent
commit
8994b8bcbc
  1. 3
      Makefile

3
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

Loading…
Cancel
Save