2 # Use debug flavor by default
8 # Use pre-compiled headers
11 # Warn about everything
12 override CPPFLAGS += -Wall
13 override LDFLAGS += -Wall
15 # Be standard compliant
16 override CFLAGS += -std=c99 -pedantic
17 override CXXFLAGS += -std=c++98 -pedantic
20 # Flavors (variants) flags
21 ##########################
24 override CPPFLAGS += -ggdb -DDEBUG
28 override CPPFLAGS += -O2 -DNDEBUG
32 override CPPFLAGS += -ggdb -pg --coverage
33 override LDFLAGS += -pg --coverage