From e415101f7cb6b3e45a2bf49e3f60aa133cbc6517 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Tue, 11 Jul 2017 08:59:33 +0000 Subject: Makefile: compile without -Weffc++ as suggested by https://stackoverflow.com/questions/11496942/understanding-weffc#11529328 reduces warnings --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3