From 09c9dcaae506058e1120eb55896fdcc2715e90a9 Mon Sep 17 00:00:00 2001 From: Peter Carbonetto Date: Tue, 9 May 2017 13:06:49 -0500 Subject: Added bin folder; added -Weffc++ flag to Makefile. --- .gitignore | 2 -- Makefile | 2 +- Makefile.osx | 4 ++-- bin/.gitignore | 1 + 4 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 bin/.gitignore diff --git a/.gitignore b/.gitignore index 903f049..402c607 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -.gitignore *.o *.tar.gz -bin/ example/output/ \ No newline at end of file diff --git a/Makefile b/Makefile index f28b0f5..fa47641 100644 --- a/Makefile +++ b/Makefile @@ -31,7 +31,7 @@ SRC_DIR = ./src CPP = g++ -CPPFLAGS = -Wall -O3 -std=gnu++11 +CPPFLAGS = -Wall -Weffc++ -O3 -std=gnu++11 ifdef FORCE_DYNAMIC LIBS = -lgsl -lgslcblas -lblas -pthread -lz diff --git a/Makefile.osx b/Makefile.osx index 63a5ba2..15dc29c 100644 --- a/Makefile.osx +++ b/Makefile.osx @@ -29,8 +29,8 @@ SRC_DIR = ./src CPP = g++ -CPPFLAGS = -F /System/Library/Frameworks -Wall -O3 \ - -I/usr/local/opt/gsl@1/include -Wc++11-narrowing +CPPFLAGS = -F /System/Library/Frameworks -Wall -Weffc++ \ + -O3 -I/usr/local/opt/gsl@1/include -Wc++11-narrowing LIBS = /usr/local/opt/gsl@1/lib/libgsl.a \ /usr/local/opt/gsl@1/lib/libgslcblas.a -lz diff --git a/bin/.gitignore b/bin/.gitignore new file mode 100644 index 0000000..6d32327 --- /dev/null +++ b/bin/.gitignore @@ -0,0 +1 @@ +gemma -- cgit v1.2.3