Update Makefile
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Tue, 26 Jun 2018 22:09:21 +0000 (00:09 +0200)
committerGitHub <noreply@github.com>
Tue, 26 Jun 2018 22:09:21 +0000 (00:09 +0200)
Makefile

index 9b9a1f7..b947c11 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,17 @@ ifeq ($(BUILD_RELAPACK), 1)
 RELA = re_lapack
 endif
 
+ifeq ($(NO_FORTRAN), 1)
+define NOFORTRAN
+1
+endef
+define NO_LAPACK
+1
+endef
+export NOFORTRAN
+export NO_LAPACK
+endif
+
 LAPACK_NOOPT := $(filter-out -O0 -O1 -O2 -O3 -Ofast,$(LAPACK_FFLAGS))
 
 SUBDIRS_ALL = $(SUBDIRS) test ctest utest exports benchmark ../laswp ../bench