1# -*- makefile -*- 2 3MPIEXEC= 4PYTHON=python 5 6-include ../../../../../petscdir.mk 7-include ${PETSC_DIR}/lib/petsc/conf/variables 8 9.PHONY:test 10test: run clean 11 12.PHONY:run 13run: run_1 run_2 14 15SCRIPT1=test_mat_cg 16.PHONY:run_1 17run_1: 18 ${MPIEXEC} ${PYTHON} ${SCRIPT1}.py 19 20SCRIPT2= test_mat_ksp 21.PHONY:run_2 22run_2: 23 ${MPIEXEC} ${PYTHON} ${SCRIPT2}.py 24 25.PHONY:clean 26clean: 27 ${RM} *.py[co] 28 ${RM} -r __pycache__ 29