<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi John,<div class=""><br class=""></div><div class="">unfortunately, this is the way that a compiler (gcc/g++, clang, Intel’s C/C++ compiler, etc.) and linker work.</div><div class=""><br class=""></div><div class="">When you change a file that is (explicitly or implicitly) included by a number of other files, all these files have to recompiled and linked again.</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""><div class="">
<div class=""><div class=""><div class=""><span class="" style="float: none; display: inline !important;">Spyridon (Spyros) Mastorakis</span><br class=""><span class="" style="float: none; display: inline !important;">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" class="">http://cs.ucla.edu/~mastorakis/</a><br class=""><span class="" style="float: none; display: inline !important;">Internet Research Laboratory</span><br class=""><span class="" style="float: none; display: inline !important;">Computer Science Department</span><br class=""><span class="" style="float: none; display: inline !important;">UCLA</span></div></div></div></div><div class=""><br class="webkit-block-placeholder"></div><div><blockquote type="cite" class=""><div class="">On May 13, 2017, at 11:13 PM, John Baugh <<a href="mailto:jpbaugh@umich.edu" class="">jpbaugh@umich.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Greetings again ndnSIM friends,<div class=""><br class=""></div><div class="">Whenever I use the ./waf command, it compiles essentially all (or nearly all) the source code in ndnSIM...  even if I just modify a single file.</div><div class=""><br class=""></div><div class="">Is there any way to get it to only build / compile / link relevant files?</div><div class=""><br class=""></div><div class="">For example, I'm modifying the forwarder.cpp class (Forwarder class.)</div><div class=""><br class=""></div><div class="">Even if I put a simple print out statement as a change, I really should only have to recompile this file (I assume it becomes a shared object somewhere...)  - but ./waf recompiles and relinks nearly everything.</div><div class=""><br class=""></div><div class="">Ideas?</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">John</div></div><br class=""></div></blockquote></div><br class=""></div></body></html>