<div class="gmail_quote">On Mon, Nov 7, 2011 at 15:07, Shao-Ching Huang <span dir="ltr"><<a href="mailto:huangsc@gmail.com">huangsc@gmail.com</a>></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>
"make" command cleans up all the .o files automatically.<br></div></blockquote><div><br></div><div>If you have CMake on your system, "make" runs a parallel CMake-generated build that does dependency analysis. A "do-nothing" build should take about 1 second. But if you haven't updated for a while, it's likely that a header has changed that will require recompiling more.</div>
<div> </div></div>