[petsc-users] Building library with PETSc makefile
Greg Meyer
gregory.meyer at gmail.com
Mon Nov 13 13:07:06 CST 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171113/e2c05e3f/attachment.html>
More information about the petsc-users
mailing list