+# CFLAGS += -O2 -fPIC
+ CFLAGS += -O0 -ggdb -rdynamic -MD -MP -D DEBUG -D VALGRIND
+endif
+
+ifneq (,$(findstring profiling,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -pg
+ LDFLAGS += -pg
+endif
+
+ifneq (,$(findstring sprofiling,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -D SIZE_DEBUG
+endif
+
+ifneq (,$(findstring gcov,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -fprofile-arcs -ftest-coverage
+ LDFLAGS += -fprofile-arcs -ftest-coverage