Svetlana Tkachenko <[email protected]> writes:

> Thanks. Could you please send an example makefile for this small
> example as src/ts/examples/tutorials/makefile is huge and I don't know
> which part of it manages the -I -L stuff.

There are examples in the user's manual.  I would start with this:

ALL: ex2

include ${PETSC_DIR}/conf/variables
include ${PETSC_DIR}/conf/rules
ex2: ex2.o chkopts
        ${CLINKER} -o $@ $< ${PETSC_LIB}

Attachment: pgpzozD5V73lB.pgp
Description: PGP signature

Reply via email to