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 = 12LOCDIR = src/sys/classes/viewer/impls/mathematica/ 13 14include ${PETSC_DIR}/lib/petsc/conf/variables 15include ${PETSC_DIR}/lib/petsc/conf/rules 16 17runtime: runtime.o 18 ${CLINKER} -o $@ $@.o ${PETSC_KSP_LIB} 19 ${RM} -f $@.o 20 21include ${PETSC_DIR}/lib/petsc/conf/test 22 23run: runtime 24 ./runtime 25