about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4444a8e..1376443 100644
--- a/Makefile
+++ b/Makefile
@@ -149,6 +149,8 @@ profile: CPPFLAGS += -pg
 
 release: CPPFLAGS += -DNDEBUG -O3 $(GCC_FLAGS) $(GSL_INCLUDE_PATH) -isystem$(EIGEN_INCLUDE_PATH) -Icontrib/catch-1.9.7 -Isrc
 
+static: CPPFLAGS += -DNDEBUG -O3 $(GCC_FLAGS) $(GSL_INCLUDE_PATH) -isystem$(EIGEN_INCLUDE_PATH) -Icontrib/catch-1.9.7 -Isrc
+
 
 ifeq ($(SYS), WIN)
   CPPFLAGS += -Duint="unsigned int" -D__CRT__NO_INLINE -D__STRING="__STRINGIFY" -DWINDOWS -DWITH_GSLCBLAS=1
@@ -170,7 +172,7 @@ ifdef WITH_GSLCBLAS
   LIBS += -lgslcblas
 endif
 ifdef WITH_GFORTRAN
-  LIBS += -lgfortran
+  LIBS += -lgfortran -lquadmath
 endif
 
 .PHONY: all test
@@ -203,6 +205,8 @@ all: release
 
 release: $(OUTPUT)
 
+static: $(OUTPUT)
+
 debug: $(OUTPUT)
 
 ./src/version.h: ./VERSION