diff --git a/makefile b/makefile
index a27274bc5b5a274f047a58610e42a301b50a8e9c..0042dac49b936daf7b4d23b9b17bfd44595d839c 100644
--- a/makefile
+++ b/makefile
@@ -15,7 +15,7 @@ endif
 # Compiler flags
 
 # DEBUG BUILD
-CXXFLAGS += -g
+CXXFLAGS += -g --coverage -O0
 
 # Linker Flags
 LDFLAGS =