So the md5sum is the reason why dna.c is not being correctly updated by scons:<br><br><br>I recall that makesdna.c has at end:<br>// include files for automatic dependancies<br>
#include &quot;DNA_listBase.h&quot;<br>
#include &quot;DNA_vec_types.h&quot;<br>
#include &quot;DNA_ID.h&quot;<br>
#include &quot;DNA_ipo_types.h&quot;<br>...<br>
<br><br>So the dependency scheme currently used is:<br><br>makesdna : maksdna.c DNA headers<br>dna.c : makesdna<br><br>This would work correctly by using modify time.. but not correctly when using md5sums<br><br>So dependency should be changed to:<br>
makesdna : makesdna.c<br>
dna.c : makesdna DNA_headers<br>
<br>I don&#39;t know very much about scons :S so I don&#39;t know how to change dependency&#39;s<br>maybe something like:<br>dna.depends(.. env.glob(&quot;../DNA_*.h&quot;) );<br><br>Also the final headers included in makesdna.c can be removed<br>
Since in scons those last includes don&#39;t make sense<br><br>&nbsp;<br>AndrĂ©<br><br><br><div><span class="gmail_quote">On 28/03/2008, <b class="gmail_sendername">Stephen Swaney</b> &lt;<a href="mailto:sswaney@centurytel.net">sswaney@centurytel.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Fri, Mar 28, 2008 at 09:03:20AM -0600, Chris Want wrote:<br> <br> &gt; I guess what you did would have added a newline to the file,<br> &gt; please disregard!<br> <br> <br>You are correct, though, that scons uses md5 sums by default<br>
 and will ignore a touch or anything that does not actually<br> change the content of the file.<br> <br><br> --<br> Stephen Swaney<br> <a href="mailto:sswaney@centurytel.net">sswaney@centurytel.net</a><br> <br>231-271-7371<br>
 <br>_______________________________________________<br> Bf-committers mailing list<br> <a href="mailto:Bf-committers@blender.org">Bf-committers@blender.org</a><br> <a href="http://lists.blender.org/mailman/listinfo/bf-committers">http://lists.blender.org/mailman/listinfo/bf-committers</a><br>
 </blockquote></div><br>