From a5e99a1f0106e6cfc4f3d384e76af393b91c2c08 Mon Sep 17 00:00:00 2001 From: Nicolas Noble Date: Tue, 30 Jul 2013 19:31:12 -0700 Subject: Taking advantage of the new debugging facilities. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 77eda31..acb2640 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ include common.mk ifeq ($(DEBUG),) -CPPFLAGS += -g -O3 -DNDEBUG -LDFLAGS += -g +CPPFLAGS += -g3 -gdwarf-2 -O3 -DNDEBUG +LDFLAGS += -g3 -gdwarf-2 else -CPPFLAGS += -g -DDEBUG -DEV_VERIFY=3 -LDFLAGS += -g +CPPFLAGS += -g3 -gdwarf-2 -DDEBUG -DEV_VERIFY=3 +LDFLAGS += -g3 -gdwarf-2 endif INCLUDES = includes libcoro libev LuaJIT/src -- cgit v1.2.3