Hi,

I'm extending PETSc for my particular application and looking to make my
own library. It would be great to do this using PETSc's makefile structure,
since I would like to build it based on how PETSc was configured (static
vs. shared, with appropriate linker flags, etc). However I've had a bit of
trouble parsing the petsc makefile structure to figure out what variables,
commands, etc. I should put in my makefile target to do so.

Can anyone provide a sample makefile for building a custom library, shared
or static depending on PETSc configuration?

Thanks in advance,
Greg

Reply via email to