<div dir="auto">Spyros,<div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Thank you for the reply.  It seems much of ndnSIM's output are shared object files, so I wasn't sure if just the modified file(s) would need to be rebuilt.  </div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br></div><div dir="auto">John</div></div><div class="gmail_extra"><br><div class="gmail_quote">On May 14, 2017 8:47 PM, "Spyridon (Spyros) Mastorakis" <<a href="mailto:mastorakis@cs.ucla.edu">mastorakis@cs.ucla.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi John,<div><br></div><div>unfortunately, this is the way that a compiler (gcc/g++, clang, Intel’s C/C++ compiler, etc.) and linker work.</div><div><br></div><div>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><br></div><div>Thanks,</div><div><br><div>
<div><div><div><span style="float:none;display:inline!important">Spyridon (Spyros) Mastorakis</span><br><span style="float:none;display:inline!important">Personal Website: </span><a href="http://cs.ucla.edu/~mastorakis/" target="_blank">http://cs.ucla.edu/~<wbr>mastorakis/</a><br><span style="float:none;display:inline!important">Internet Research Laboratory</span><br><span style="float:none;display:inline!important">Computer Science Department</span><br><span style="float:none;display:inline!important">UCLA</span></div></div></div></div><div><br class="m_4978431526862705573webkit-block-placeholder"></div><div><blockquote type="cite"><div>On May 13, 2017, at 11:13 PM, John Baugh <<a href="mailto:jpbaugh@umich.edu" target="_blank">jpbaugh@umich.edu</a>> wrote:</div><br class="m_4978431526862705573Apple-interchange-newline"><div><div dir="ltr">Greetings again ndnSIM friends,<div><br></div><div>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><br></div><div>Is there any way to get it to only build / compile / link relevant files?</div><div><br></div><div>For example, I'm modifying the forwarder.cpp class (Forwarder class.)</div><div><br></div><div>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><br></div><div>Ideas?</div><div><br></div><div><br></div><div>Thanks,</div><div><br></div><div>John</div></div><br></div></blockquote></div><br></div></div></blockquote></div></div>