summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makerules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makerules b/Makerules
index d111ce30..da653ddc 100644
--- a/Makerules
+++ b/Makerules
@@ -10,11 +10,11 @@ LD := $(CC)
AR := ar
ifeq "$(build)" "debug"
-CFLAGS += -g -O0
+CFLAGS += -g -O0 -DDEBUG
endif
ifeq "$(build)" "release"
-CFLAGS += -O3
+CFLAGS += -O3 -DNDEBUG
endif
ifeq "$(OS)" "Linux"