xref: /petsc/src/sys/classes/viewer/impls/mathematica/makefile (revision 5c6c1daec53e1d9ab0bec9db5309fd8fc7645b8d)
1*5c6c1daeSBarry Smith
2*5c6c1daeSBarry Smith#requirespackage  'PETSC_HAVE_MATHEMATICA'
3*5c6c1daeSBarry Smith#requiresscalar real
4*5c6c1daeSBarry Smith
5*5c6c1daeSBarry SmithALL: lib
6*5c6c1daeSBarry Smith
7*5c6c1daeSBarry SmithCFLAGS    = ${MATHEMATICA_INCLUDE}
8*5c6c1daeSBarry SmithSOURCEC   = mathematica.c
9*5c6c1daeSBarry SmithSOURCEH   = mathematica.h
10*5c6c1daeSBarry SmithMANSEC    = Viewer
11*5c6c1daeSBarry SmithLIBBASE   = libpetscsys
12*5c6c1daeSBarry SmithDIRS      =
13*5c6c1daeSBarry SmithLOCDIR  = src/sys/classes/viewer/impls/mathematica/
14*5c6c1daeSBarry Smith
15*5c6c1daeSBarry Smithinclude ${PETSC_DIR}/conf/variables
16*5c6c1daeSBarry Smithinclude ${PETSC_DIR}/conf/rules
17*5c6c1daeSBarry Smith
18*5c6c1daeSBarry Smithruntime: runtime.o chkopts
19*5c6c1daeSBarry Smith	${CLINKER} -o $@ $@.o  ${PETSC_KSP_LIB}
20*5c6c1daeSBarry Smith	${RM} -f $@.o
21*5c6c1daeSBarry Smith
22*5c6c1daeSBarry Smithinclude ${PETSC_DIR}/conf/test
23*5c6c1daeSBarry Smith
24*5c6c1daeSBarry Smithrun: runtime
25*5c6c1daeSBarry Smith	./runtime
26