Adapt to having only a subset of variable types supported
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sun, 11 Oct 2020 12:46:24 +0000 (14:46 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Oct 2020 12:46:24 +0000 (14:46 +0200)
lapack/getf2/Makefile

index 612c6f9..a524a32 100644 (file)
@@ -1,11 +1,19 @@
 TOPDIR = ../..
 include ../../Makefile.system
 
+ifneq "$(or $(BUILD_SINGLE),$(BUILD_DOUBLE))" ""
 SBLASOBJS = sgetf2_k.$(SUFFIX)
+endif
+ifeq ($(BUILD_DOUBLE),1)
 DBLASOBJS = dgetf2_k.$(SUFFIX)
+endif
 QBLASOBJS = qgetf2_k.$(SUFFIX)
+ifneq "$(or $(BUILD_COMPLEX),$(BUILD_COMPLEX16))" ""
 CBLASOBJS = cgetf2_k.$(SUFFIX)
+endif
+ifeq ($(BUILD_COMPLEX16),1)
 ZBLASOBJS = zgetf2_k.$(SUFFIX)
+endif
 XBLASOBJS = xgetf2_k.$(SUFFIX)
 
 sgetf2_k.$(SUFFIX) : getf2_k.c