<div class="gmail_quote">On Mon, Nov 7, 2011 at 15:07, Shao-Ching Huang <span dir="ltr">&lt;<a href="mailto:huangsc@gmail.com">huangsc@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":34x">I was thinking rebuilding in 5 seconds, if I could reuse most of the<br>
already-built .o files. (Like in a typical makefile scenario -- only<br>
the changed source files are re-compiled). It seems that the petsc<br>
&quot;make&quot; command cleans up all the .o files automatically.<br></div></blockquote><div><br></div><div>If you have CMake on your system, &quot;make&quot; runs a parallel CMake-generated build that does dependency analysis. A &quot;do-nothing&quot; build should take about 1 second. But if you haven&#39;t updated for a while, it&#39;s likely that a header has changed that will require recompiling more.</div>
<div> </div></div>