summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Noble <pixel@nobis-crew.org>2013-07-30 19:31:12 -0700
committerNicolas Noble <pixel@nobis-crew.org>2013-07-30 19:31:12 -0700
commita5e99a1f0106e6cfc4f3d384e76af393b91c2c08 (patch)
treec831e967b641c29612fc913ddb2950c886e9da8b /Makefile
parente7db8576b8a4988dfdd206500199e59c3b57bf55 (diff)
Taking advantage of the new debugging facilities.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
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