aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/make.code.defn2
-rw-r--r--src/make.configuration.defn4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/make.code.defn b/src/make.code.defn
index 6e625ad..fcfda6d 100644
--- a/src/make.code.defn
+++ b/src/make.code.defn
@@ -4,6 +4,8 @@
# Source files in this directory
SRCS = Startup.c petsc_wrapper.c petsc_confmetric_solver.c petsc_flat_solver.c
+
+# Add PETSc include dirs to the Cactus makefile variables
SYS_INC_DIRS += $(PETSC_DIR)/include $(PETSC_DIR)/bmake/$(PETSC_ARCH)
# Define this to enable PETSC's error-checking macros
diff --git a/src/make.configuration.defn b/src/make.configuration.defn
index 1d56939..5130245 100644
--- a/src/make.configuration.defn
+++ b/src/make.configuration.defn
@@ -1,4 +1,4 @@
-# Main make.code.defn file for thorn PETSc_Elliptic
+# Main make.code.defn file for thorn CactusElliptic/EllPETSc
# $Header$
@@ -68,6 +68,6 @@ UnknownArch:
exit 2
endif
+# Add PETSc libdirs and libs to the Cactus makefile variables
LIBDIRS += $(PETSC_LIB_DIR) $(X_LIB_DIR)
LIBS += $(PETSC_LIBS) $(PLATFORM_LIBS) X11 $(MPI_LIBS)
-EXTRAFLAGS = -I$(PETSC_DIR)/include