xref: /petsc/petscdir.mk (revision d5c9c0c4eebc2f2a01a1bd0c86fca87e2acd2a03)
1#
2#   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#
4PETSC_DIR_TMP := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
5export PETSC_DIR ?= $(PETSC_DIR_TMP)
6
7