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