File: makefile

package info (click to toggle)
petsc4py 3.23.1-1exp2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,448 kB
  • sloc: python: 12,503; ansic: 1,697; makefile: 343; f90: 313; sh: 14
file content (16 lines) | stat: -rw-r--r-- 269 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- makefile -*-

MPIEXEC=mpiexec
MPIEXEC_FLAGS=-n 2
PYTHON=python3

-include ../../../../../../petscdir.mk
-include ${PETSC_DIR}/lib/petsc/conf/variables

scripts = ex2 ex23

all: $(scripts)

$(scripts):
	${PYTHON} $@.py
	${MPIEXEC} ${MPIEXEC_FLAGS} ${PYTHON} $@.py