petsc-3.9.4 2018-09-11
Report Typos and Errors
#requirespackage  'PETSC_HAVE_MATHEMATICA'
#requiresscalar real

ALL: lib

CFLAGS     = ${MATHEMATICA_INCLUDE}
SOURCEC    = mathematica.c
SOURCEH    = mathematica.h
MANSEC     = Sys
SUBMANSEC  = Viewer
LIBBASE    = libpetscsys
DIRS       =
LOCDIR     = src/sys/classes/viewer/impls/mathematica/

include ${PETSC_DIR}/lib/petsc/conf/variables
include ${PETSC_DIR}/lib/petsc/conf/rules

runtime: runtime.o chkopts
	${CLINKER} -o $@ [email protected]  ${PETSC_KSP_LIB}
	${RM} -f [email protected]

include ${PETSC_DIR}/lib/petsc/conf/test

run: runtime
	./runtime