1cdb0f33dSPierre Jolivet-include ../../../petscdir.mk 2c4762a1bSJed BrownCFLAGS = 3c4762a1bSJed BrownFFLAGS = 4c4762a1bSJed BrownCPPFLAGS = 5c4762a1bSJed BrownFPPFLAGS = 6c4762a1bSJed BrownLOCDIR = src/mat/tutorials/ 7*735d7f90SBarry SmithEXAMPLESC = ex1.c ex2.c ex4.c ex8.c ex9.c ex10.c ex11.c ex12.c ex15.c ex16.c ex17.c ex18.c 8c4762a1bSJed BrownEXAMPLESF = ex4f.F90 ex6f.F90 ex15f.F90 ex17f.F90 93fa6b06aSMark AdamsEXAMPLESCU = ex5cu.cu 10c4762a1bSJed BrownMANSEC = Mat 11c4762a1bSJed Brown 12c4762a1bSJed Browninclude ${PETSC_DIR}/lib/petsc/conf/variables 13c4762a1bSJed Browninclude ${PETSC_DIR}/lib/petsc/conf/rules 14c4762a1bSJed Brown 15*735d7f90SBarry Smith# set the conditional prerequisites after including the 'variables' file, so we 16*735d7f90SBarry Smith# can reference make macros defined by it, but before including the 'test' file, 17*735d7f90SBarry Smith# so that ex18 has correct full prerequisites (instead of the default ex18.o) 18*735d7f90SBarry Smithex18objs := ex18.o 19*735d7f90SBarry Smithifneq ($(CUDAC),) 20*735d7f90SBarry Smith ex18objs += ex18cu.o 21*735d7f90SBarry Smithendif 22*735d7f90SBarry Smithifneq ($(KOKKOS_LIB),) 23*735d7f90SBarry Smith ex18objs += ex18kok.o 24*735d7f90SBarry Smithendif 25*735d7f90SBarry Smithex18 : ${ex18objs} 26*735d7f90SBarry Smith 27*735d7f90SBarry Smithinclude ${PETSC_DIR}/lib/petsc/conf/test 28