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