2 # Flavors (variants) flags
3 ##########################
6 override CPPFLAGS += -ggdb -DDEBUG
10 override CPPFLAGS += -O2 -DNDEBUG
14 override CPPFLAGS += -ggdb -pg --coverage
15 override LDFLAGS += -pg --coverage
21 # Warn about everything
22 override CPPFLAGS += -Wall
23 override LDFLAGS += -Wall
25 # Be standard compliant
26 override CFLAGS += -std=c99 -pedantic
27 override CXXFLAGS += -std=c++98 -pedantic
29 # Other project configuration
30 #############################
32 # Use debug flavor by default
35 # Use pre-compiled headers