summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index c16dbed5..93b943ab 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -204,7 +204,7 @@ endif
CFLAGS += -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces -Wunused-result
ifeq ($(BUILD_MODE),DEBUG)
- CFLAGS += -g
+ CFLAGS += -g -D_DEBUG
ifeq ($(PLATFORM),PLATFORM_WEB)
CFLAGS += -s ASSERTIONS=1 --profiling
endif