summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2017-04-10 12:48:26 +0200
committerJ08nY2017-04-10 12:48:26 +0200
commit390fee30fa705c2618be20ae1b64f245c253bb5a (patch)
tree490f4126a614214318f41fe5f2f59ee88077a591
parent08bff37e281d9ae1911611693e5cff71b50f8578 (diff)
downloadecgen-390fee30fa705c2618be20ae1b64f245c253bb5a.tar.gz
ecgen-390fee30fa705c2618be20ae1b64f245c253bb5a.tar.zst
ecgen-390fee30fa705c2618be20ae1b64f245c253bb5a.zip
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 8073387..4acb340 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -9,10 +9,10 @@ CC ?= gcc
CFLAGS = -Wall
DEBUG ?= 1
-ifeq (DEBUG, 1)
- CFLAGS += -g -DDEBUG -v
+ifeq ($(DEBUG), 1)
+ CFLAGS += -DDEBUG -g -Werror -pedantic
else
- CFLAGS += -O3 -DNDEBUG
+ CFLAGS += -DNDEBUG -O3
endif
LDFLAGS = -L../lib/parson -L../lib/sha1 -L../lib/pari