author | Alberto Bertogli
<albertito@gmail.com> 2007-06-04 02:08:31 UTC |
committer | Alberto Bertogli
<albertito@gmail.com> 2007-06-04 02:08:31 UTC |
parent | affed3d8eb042bd007c1f45a1663b07b413d9b98 |
libnmdb/Makefile | +4 | -0 |
diff --git a/libnmdb/Makefile b/libnmdb/Makefile index 22cd048..cdd95b0 100644 --- a/libnmdb/Makefile +++ b/libnmdb/Makefile @@ -7,6 +7,10 @@ ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC $(CFLAGS) ALL_CFLAGS += -DENABLE_TIPC=$(ENABLE_TIPC) -DENABLE_TCP=$(ENABLE_TCP) ifdef DEBUG +ALL_CFLAGS += -g +endif + +ifdef PROFILE ALL_CFLAGS += -g -pg -fprofile-arcs -ftest-coverage endif