[petsc-users] Makefile options to leave .o files?

Satish Balay balay at mcs.anl.gov
Thu Sep 16 14:24:48 CDT 2010


make ACTION=lib tree

However as Jed mentioned - no dependency analysis - so the above
recompiles sources that are changed - but if any includes change - you
are better off with 'make all'

Satish

On Thu, 16 Sep 2010, Keita Teranishi wrote:

> Hi,
> 
> I have observed that the default option of the makefile at the main directory deletes libpetsc.a file before compiling the source code files.   Is there any options that keep libpetsc.a, and only compile those modified after libpetsc.a?
> 
> Thanks,
> ================================
>  Keita Teranishi
>  Scientific Library Group
>  Cray, Inc.
>  keita at cray.com
> ================================
> 
> 



More information about the petsc-users mailing list