From f1bc55f354787272e2479aa3c0a6e24e2f07fe30 Mon Sep 17 00:00:00 2001 From: tradke Date: Wed, 13 Aug 2003 09:53:43 +0000 Subject: 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 --- src/make.code.defn | 2 ++ src/make.configuration.defn | 4 ++-- 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 -- cgit v1.2.3