+
+# build configurations
+# cover:
+# coverage reporting
+# for use with gcov
+# debug:
+# unoptimized and maximally annotated
+# for use with gdb
+# profile:
+# somewhat optimized and maximally annotated
+# for use with valgrind
+# release:
+# optimized, without debugging instructions and minimally
+# annotated (mainly for stack traces)
+# for use with people
+# tests:
+# same flags as release, but with main replaced by cppunit
+# test runner and tests (from tst dir) built in
+
+COVER_FLAGS = -g -O0 --coverage -I$(SOURCE_DIR) $(TESTFLAGS)
+DEBUG_FLAGS = -g3 -O0
+PROFILE_FLAGS = -DNDEBUG -O1 -g3 -DBLANK_PROFILING
+RELEASE_FLAGS = -DNDEBUG -O2 -g1
+TEST_FLAGS = -g -O2 -I$(SOURCE_DIR) $(TESTFLAGS)
+
+# destination
+COVER_DIR := build/cover