<div dir="ltr">Hi Rustam,<br><br>this problem may be caused by your Fortran compiler.<br><br>The current rebuild strategy is to recompile all source files that depend on a modified module (.mod) file. Each Fortran module file contains public API that the corresponding source file exports and ideally should be updated only when you change such API (e.g. prototype of public functions, structure of public derived types, public generic interfaces, etc.). If the only thing you do is to tweak the body of a public function without changing its prototype, the compiler should only update the relevant object (.o) file, so no dependent files will be recompiled. At least the latest gfortran acts this way.<br><br>Best wishes,<br><br>Sergey<br><br>On Thursday, August 25, 2016 at 2:44:35 PM UTC+1, Rustam wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">CP2K developers,<div><br></div><div>Is the any way to build exe without recompiling ALL dependencies?</div><div><br></div><div>A couple of years ago the standard make target did not recompile all dependencies. As a result minor code modifications recompiled fast. Now, make carefully creates a list of all dependencies and recompiles all of them. Nice safety feature but recompiling minor local changes seems to take forever, debugging becomes a major pain.</div><div><br></div><div>Is there any make TARGET that can build exe by recompiling only the modified files and their corresponding libraries?</div><div><br></div><div>Thanks,</div><div>Rustam</div></div></blockquote></div>