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