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