aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4d46ec2..07afb7e 100644
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,10 @@ CFLAGS := -Wall -Wextra -flto
### build mode
ifeq ($(mode),debug)
- CFLAGS += -g -Og -DDEBUG
+ CFLAGS += -g -Og
BUILD_DIR := $(BUILD_DIR)/debug
else
- CFLAGS += -O3
+ CFLAGS += -O3 -DNDEBUG
LDFLAGS += -s
endif