1#requirespackage 'PETSC_HAVE_MATHEMATICA' 2#requiresscalar real 3 4CFLAGS = ${MATHEMATICA_INCLUDE} 5SOURCEC = mathematica.c 6SOURCEH = mathematica.h 7MANSEC = Sys 8SUBMANSEC = Viewer 9LIBBASE = libpetscsys 10DIRS = 11LOCDIR = src/sys/classes/viewer/impls/mathematica/ 12 13include ${PETSC_DIR}/lib/petsc/conf/variables 14include ${PETSC_DIR}/lib/petsc/conf/rules 15 16runtime: runtime.o 17 ${CLINKER} -o $@ $@.o ${PETSC_KSP_LIB} 18 ${RM} -f $@.o 19 20include ${PETSC_DIR}/lib/petsc/conf/test 21 22run: runtime 23 ./runtime 24