1-include ../../../../../../petscdir.mk 2#requirespackage 'PETSC_HAVE_MATHEMATICA' 3#requiresscalar real 4 5CFLAGS = ${MATHEMATICA_INCLUDE} 6SOURCEC = mathematica.c 7SOURCEH = mathematica.h 8MANSEC = Sys 9SUBMANSEC = Viewer 10LIBBASE = libpetscsys 11DIRS = 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