summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2019-08-12 14:31:10 +0200
committerKatolaZ <katolaz@freaknet.org>2019-08-13 09:19:46 +0100
commit39ec615b54c0cc2734ac29ba4caac574c21503a4 (patch)
treeb5aaf9ff793600adbf2452a2142e406e81ffe29f /config.mk
parent3d5be35e1e30fb6e1fda0ef9a9db6b6d5d839114 (diff)
Arrange makefile debug target
Do not try defining macros in the prerequisite section Make the DEBUG macro a config macro
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index f5237db..6850d1e 100644
--- a/config.mk
+++ b/config.mk
@@ -3,5 +3,5 @@ PREFIX = /usr/local
BINDIR = ${PREFIX}/bin
MANDIR = ${PREFIX}/share/man
-CFLAGS = -O3 -std=c99 -pedantic -Wall
-#CC = cc
+CFLAGS = -O3 -std=c99
+DEBUG = -O0 -std=c99 -Wall -pedantic -g -DDEBUG