1-include ../../../petscdir.mk 2 3LOCDIR = src/mat/tutorials/ 4MANSEC = Mat 5 6include ${PETSC_DIR}/lib/petsc/conf/variables 7include ${PETSC_DIR}/lib/petsc/conf/rules 8 9# set the conditional prerequisites after including the 'variables' file, so we 10# can reference make macros defined by it, but before including the 'test' file, 11# so that ex18 has correct full prerequisites (instead of the default ex18.o) 12ex18objs := ex18.o 13ifneq ($(CUDAC),) 14 ex18objs += ex18cu.o 15endif 16ifneq ($(KOKKOS_LIB),) 17 ex18objs += ex18kok.o 18endif 19ex18 : ${ex18objs} 20 21include ${PETSC_DIR}/lib/petsc/conf/test 22