1-include ../../../../petscdir.mk 2 3include ${PETSC_DIR}/lib/petsc/conf/variables 4include ${PETSC_DIR}/lib/petsc/conf/rules 5 6V ?= 0 7QUIET = $(shell [ "$(V)" = "0" ] && echo @) 8 9ex7: ex7f.o 10ex21f90: ex21.o 11ex43f: ex43.o 12 13testex31: ex31.PETSc 14 -${QUIET}${MPIEXEC} -n 1 ${MPIEXEC_TAIL} ./ex31 > ex31.tmp 2>&1; 15 -${QUIET}${DIFF} output/ex31_1.testout ex31.tmp > ex31.dtmp; 16 -@if [ ! -s ex31.dtmp ]; then \ 17 echo "C/C++ example src/vec/vec/tutorials/ex31 run successfully with MATLAB engine"; \ 18 else \ 19 echo "Possible error running C/C++ src/vec/vec/tutorials/ex31 with MATLAB engine"; \ 20 echo "See https://petsc.org/release/faq/";\ 21 touch ../../../../check_error;\ 22 cat ex31.tmp;\ 23 fi;\ 24 ${RM} -f ex31.tmp ex31.dtmp; 25