aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@1d96b42b-98df-4a6a-9d84-1b24288d4588>2003-08-13 09:53:43 +0000
committertradke <tradke@1d96b42b-98df-4a6a-9d84-1b24288d4588>2003-08-13 09:53:43 +0000
commitf1bc55f354787272e2479aa3c0a6e24e2f07fe30 (patch)
treef293dde3e1dc9163d286e50cec81349d30507993
parent50e8e3e9d17c5e99cf753428985b57e5c975a8b3 (diff)
Don't need to set EXTRAFLAGS. Added some explanatory comment lines.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllPETSc/trunk@77 1d96b42b-98df-4a6a-9d84-1b24288d4588
-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