summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2017-08-29 15:14:51 +0200
committerJ08nY2017-08-29 15:14:51 +0200
commita826785b6d421057c11fc36cc52ce85a20af32f4 (patch)
tree313fd56d49a3aca56308655d40199f5a5f0c78c8
parenteec0b7b51b030b0f8b51ac641c1e088d70cdc116 (diff)
downloadecgen-a826785b6d421057c11fc36cc52ce85a20af32f4.tar.gz
ecgen-a826785b6d421057c11fc36cc52ce85a20af32f4.tar.zst
ecgen-a826785b6d421057c11fc36cc52ce85a20af32f4.zip
-rw-r--r--test/src/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/src/Makefile b/test/src/Makefile
index d22e37e..27e6ea2 100644
--- a/test/src/Makefile
+++ b/test/src/Makefile
@@ -7,7 +7,11 @@
CC ?= gcc
-CFLAGS = -Wall --coverage -g -O0
+CFLAGS = -Wall
+TEST ?= 0
+ifeq ($(TEST), 1)
+ CFLAGS += --coverage -g -O0
+endif
LDFLAGS = -L../../lib/parson -L../../lib/sha1 -L../../lib/pari -L../lib/criterion/build
INCLUDES = -I. -I../../src -I../../lib -I../lib/criterion/include
LIBS = -lrt -lpari -lpthread -lparson -lsha1 -lcriterion