aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorxiangzhou2014-10-30 14:29:16 -0400
committerxiangzhou2014-10-30 14:29:16 -0400
commit587e0a464328110766c2e26ad2093f44c9dffa80 (patch)
tree1b98854fa52f5e657431368ce9464b9b5132927f /Makefile
parent9903c4c04f43ce00610a90a94b2be7c36f2aaea0 (diff)
parenta58ae0718095fb47e6071211c23a8bf8408ec6f6 (diff)
downloadpangemma-587e0a464328110766c2e26ad2093f44c9dffa80.tar.gz
Merge pull request #10 from wtsi-hgi/fix-dynamic-linking-lblas
Fixes dynamic compilation (fixes #9)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b26e4ca..e656cdf 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,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