summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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