Adapt to having only a subset of variable types supported

This commit is contained in:
Martin Kroeker 2020-10-11 14:41:43 +02:00 committed by GitHub
parent 9df12eb08f
commit e5966f8606
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -8,6 +8,19 @@ CBLASOBJS = cpotf2_U.$(SUFFIX) cpotf2_L.$(SUFFIX)
ZBLASOBJS = zpotf2_U.$(SUFFIX) zpotf2_L.$(SUFFIX)
XBLASOBJS = xpotf2_U.$(SUFFIX) xpotf2_L.$(SUFFIX)
ifeq "$(or $(BUILD_SINGLE),$(BUILD_DOUBLE))" ""
SBLASOBJS=
endif
ifneq ($(BUILD_DOUBLE),1)
DBLASOBJS=
endif
ifeq "$(or $(BUILD_COMPLEX),$(BUILD_COMPLEX16))" ""
CBLASOBJS=
endif
ifneq ($(BUILD_COMPLEX16),1)
ZBLASOBJS=
endif
spotf2_U.$(SUFFIX) : potf2_U.c
$(CC) -c $(CFLAGS) -UCOMPLEX -UDOUBLE $< -o $(@F)