author | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-03-02 00:36:40 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2009-03-02 00:41:22 UTC |
parent | 7b27277aed27424d3563aad21159926cf0334846 |
Makefile | +4 | -0 |
diff --git a/Makefile b/Makefile index e20507f..7a9ad9b 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,10 @@ MANDATORY_CFLAGS := \ ALL_CFLAGS += $(CFLAGS) $(MANDATORY_CFLAGS) -fPIC ifdef DEBUG +ALL_CFLAGS += -g +endif + +ifdef PROFILE ALL_CFLAGS += -g -pg -fprofile-arcs -ftest-coverage endif