summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas Noble <pixel@nobis-crew.org>2013-07-30 19:31:27 -0700
committerNicolas Noble <pixel@nobis-crew.org>2013-07-30 19:31:27 -0700
commit6d6e0f01dedb12a26306b18ed44ff9be05d19266 (patch)
treef6d3b0461eb5a27dab572816afd104c78b36f7f9 /Makefile
parent24bbaa0b14184447640d7ad7654679ce220e97fa (diff)
Taking advantage of the new debugging facilities, and updating Balau.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c2a0bda..5041205 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
include Balau/common.mk
ifeq ($(DEBUG),)
-CPPFLAGS += -g -O3 -DNDEBUG
-LDFLAGS += -g
+CPPFLAGS += -g3 -gdwarf-2 -O3 -DNDEBUG
+LDFLAGS += -g3 -gdwarf-2
else
-CPPFLAGS += -g -DDEBUG
-LDFLAGS += -g
+CPPFLAGS += -g3 -gdwarf-2 -DDEBUG
+LDFLAGS += -g3 -gdwarf-2
endif
INCLUDES = includes Balau/includes Balau/libcoro Balau/libeio Balau/libev Balau/LuaJIT/src Dalos-modules/includes