aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2017-07-11 08:59:33 +0000
committerPjotr Prins2017-07-11 08:59:33 +0000
commite415101f7cb6b3e45a2bf49e3f60aa133cbc6517 (patch)
treec11bfbc0eba7627e201f73a99d841df9ce8c043b
parent6cb25f227b0d42a1268c51542f96b9ffafba0bbb (diff)
downloadpangemma-e415101f7cb6b3e45a2bf49e3f60aa133cbc6517.tar.gz
Makefile: compile without -Weffc++ as suggested by https://stackoverflow.com/questions/11496942/understanding-weffc#11529328 reduces warnings
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3e8276e..1a1a87b 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ SRC_DIR = ./src
CPP = g++
-CPPFLAGS = -Wall -Weffc++ -O3 -std=gnu++11 -I$(EIGEN_INCLUDE_PATH)
+CPPFLAGS = -Wall -O3 -std=gnu++11 -I$(EIGEN_INCLUDE_PATH)
ifdef FORCE_DYNAMIC
LIBS = -lgsl -lgslcblas -pthread -lz
@@ -104,6 +104,7 @@ $(OBJS) : $(HDR)
check: all
cd test && ./test_suite.sh | tee ../test.log
grep -q 'success rate: 100%' test.log
+
clean:
rm -rf ${SRC_DIR}/*.o ${SRC_DIR}/*~ *~ $(OUTPUT)