aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJ08nY2018-03-20 15:10:41 +0100
committerJ08nY2018-03-20 15:10:41 +0100
commit6f3809790583a1256b53a419f3fee400e11e155a (patch)
tree496b89e9833a27a25af36001293375b7e2a0619a /lib
parent49406044628b61f12493775e5797ac3ef441e19c (diff)
downloadecgen-6f3809790583a1256b53a419f3fee400e11e155a.tar.gz
ecgen-6f3809790583a1256b53a419f3fee400e11e155a.tar.zst
ecgen-6f3809790583a1256b53a419f3fee400e11e155a.zip
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 29a4002..ff4ddd5 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -5,17 +5,17 @@ DEBUG ?= 0
TEST ?= 0
FAST ?= 0
ifeq ($(DEBUG), 1)
- CFLAGS += -DDEBUG -g -Og -Werror -pedantic
+ CFLAGS += -DDEBUG -g -Og -Werror -pedantic
else ifeq ($(TEST), 1)
- CFLAGS += -DNDEBUG --coverage -g -O0
+ CFLAGS += -DNDEBUG --coverage -g -O0
else ifeq ($(FAST), 1)
- ifeq ($(CC), gcc)
- CFLAGS += -DNDEBUG -O3 -march=native -pipe
- else
- CFLAGS += -DNDEBUG -O3
- endif
+ ifeq ($(CC), gcc)
+ CFLAGS += -DNDEBUG -O3 -march=native -pipe
+ else
+ CFLAGS += -DNDEBUG -O3
+ endif
else
- CFLAGS += -DNDEBUG -O2
+ CFLAGS += -DNDEBUG -O2
endif
export