aboutsummaryrefslogtreecommitdiff
path: root/src/make.configuration.defn
blob: a954d1e96b3d102b0d7addad4625ce753437c5d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Main make.code.defn file for thorn CactusElliptic/EllPETSc
# $Header$


# check if this was configured with PETSc, bail out if not
have_petsc := $(shell grep -s '\#define CCTK_PETSC 1' $(CONFIG)/cctk_Extradefs.h)

ifeq ($(strip $(have_petsc)), )
$(NAME): MissingPETSC
.pseudo: MissingPETSC
MissingPETSC:
	@echo "This configuration wasn't configured to use PETSC"
	@echo "Please reconfigure with 'PETSC=yes' or remove EllPETSc from your ThornList !"
	exit 2
endif