1-include ../../../petscdir.mk 2CFLAGS = 3FFLAGS = 4CPPFLAGS = 5FPPFLAGS = 6LOCDIR = src/mat/tutorials/ 7EXAMPLESC = ex1.c ex2.c ex4.c ex8.c ex9.c ex10.c ex11.c ex12.c ex15.c ex16.c ex17.c ex18.c 8EXAMPLESF = ex4f.F90 ex6f.F90 ex15f.F90 ex17f.F90 9EXAMPLESCU = ex5cu.cu 10MANSEC = Mat 11 12include ${PETSC_DIR}/lib/petsc/conf/variables 13include ${PETSC_DIR}/lib/petsc/conf/rules 14 15# set the conditional prerequisites after including the 'variables' file, so we 16# can reference make macros defined by it, but before including the 'test' file, 17# so that ex18 has correct full prerequisites (instead of the default ex18.o) 18ex18objs := ex18.o 19ifneq ($(CUDAC),) 20 ex18objs += ex18cu.o 21endif 22ifneq ($(KOKKOS_LIB),) 23 ex18objs += ex18kok.o 24endif 25ex18 : ${ex18objs} 26 27include ${PETSC_DIR}/lib/petsc/conf/test 28