File: petscdir.mk

package info (click to toggle)
petsc 3.14.5%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 266,472 kB
  • sloc: ansic: 680,898; python: 33,303; cpp: 16,324; makefile: 14,022; f90: 13,731; javascript: 10,713; fortran: 9,581; sh: 1,373; xml: 619; objc: 445; csh: 192; pascal: 148; java: 13
file content (6 lines) | stat: -rw-r--r-- 257 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
#
#   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
#
PETSC_DIR_TMP := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
export PETSC_DIR ?= $(PETSC_DIR_TMP)