xref: /petsc/petscdir.mk (revision e19f88df7cd0bcfe73faf98683db6f77794e28aa)
1*e19f88dfSBarry Smith#
2*e19f88dfSBarry Smith#   This sets PETSC_DIR if it has not been set in the environment; it uses the path of this file, not the path of the makefile that includes this file
3*e19f88dfSBarry Smith#
4*e19f88dfSBarry SmithPETSC_DIR_TMP := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
5*e19f88dfSBarry SmithPETSC_DIR ?= $(PETSC_DIR_TMP)
6*e19f88dfSBarry Smith
7