aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Randall2014-10-30 18:19:55 +0000
committerJoshua Randall2014-10-30 18:19:55 +0000
commita58ae0718095fb47e6071211c23a8bf8408ec6f6 (patch)
tree884212475645e8c149be2c0b126339d245f8659e /Makefile
parentf1b80da01aa20498c7efd18b19df094f32661d8f (diff)
downloadpangemma-a58ae0718095fb47e6071211c23a8bf8408ec6f6.tar.gz
Fixes dynamic compilation
Fixes dynamic compilation on systems where -lblas is required for symbols such as `dgemm_`
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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