Commit d19e410f authored by Marc Duez's avatar Marc Duez
Browse files

c++11 compiler flag

parent ab7c5a7b
CC=g++
OPTIM=-O2 -DNDEBUG $(COVERAGE) $(DEBUG)
override CXXFLAGS += -W -Wall $(OPTIM)
override CXXFLAGS += -W -Wall -std=gnu++11 $(OPTIM)
## inspired from http://stackoverflow.com/questions/399850/best-compiler-warning-level-for-c-c-compilers/401276
PARANOID= -Wall -Weffc++ -pedantic \
......
CC=g++
OPTIM=-O2
override CXXFLAGS += -W -Wall $(OPTIM)
override CXXFLAGS += -W -Wall -std=gnu++11 $(OPTIM)
SRCCORE=$(wildcard *.cpp)
OBJCORE=$(SRCCORE:.cpp=.o)
LIBCORE=vidjil.a
......
CC=g++
OPTIM=-O2
override CXXFLAGS += -W -Wall $(OPTIM)
override CXXFLAGS += -W -Wall -std=gnu++11 $(OPTIM)
SRCCORE=$(wildcard *.cpp)
OBJCORE=$(SRCCORE:.cpp=.o)
LIBCORE=lib.a
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment