aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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