From a58ae0718095fb47e6071211c23a8bf8408ec6f6 Mon Sep 17 00:00:00 2001 From: Joshua Randall Date: Thu, 30 Oct 2014 18:19:55 +0000 Subject: Fixes dynamic compilation Fixes dynamic compilation on systems where -lblas is required for symbols such as `dgemm_` --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 987e2e6..1caabe9 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,11 @@ CPP = g++ CPPFLAGS = -Wall -O3 +ifdef FORCE_DYNAMIC +LIBS = -lgsl -lgslcblas -lblas -pthread -lz +else LIBS = -lgsl -lgslcblas -pthread -lz +endif OUTPUT = $(BIN_DIR)/gemma -- cgit v1.2.3