still having trouble, incorporation of PETSC_ARCH not needed

This commit is contained in:
Martin Diehl 2015-11-13 10:16:35 +00:00
parent a8b36d9c1b
commit 9d9367ae11
1 changed files with 8 additions and 1 deletions

View File

@ -16,8 +16,10 @@ SHELL = /bin/sh
# SUFFIX = arbitrary suffix (after file to compile)
# STANDARD_CHECK = checking for Fortran 2008, compiler dependend
########################################################################################
# including PETSc files. PETSC_ARCH is loaded from these files.
include ${PETSC_DIR}/lib/petsc/conf/variables
include ${PETSC_DIR}/lib/petsc/conf/rules
include $(PETSC_DIR)/$(PETSC_ARCH)/lib/petsc/conf/petscvariables
INCLUDE_DIRS := $(PETSC_FC_INCLUDES) -DPETSc -I../lib
LIBRARIES := $(PETSC_WITH_EXTERNAL_LIB)
COMPILERNAME ?= $(FC)
@ -663,6 +665,11 @@ clean:
@rm -rf *.mod
@rm -rf *.exe
@rm -rf *.marc
@rm -rf *.inst.f90 # for instrumentation
@rm -rf *.pomp.f90 # for instrumentation
@rm -rf *.pp.f90 # for instrumentation
@rm -rf *.pdb # for instrumnentation
@rm -rf *.opari.inc # for instrumnentation
.PHONY: help
help: