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