title: Add source to an existing automake program
body: <p>I would like to edit an existing software to add a new source file (Source.cpp). 
  But, I can't manage the compilation process (it seems to be automake and it looks very complicated).</p>
  
  <p>The software (iperf 2: <a href="https://sourceforge.net/projects/iperf2/files/?source=navbar" rel="nofollow">https://sourceforge.net/projects/iperf2/files/?source=navbar</a>) is compiled using a classical <code>./configure</code> <code>make</code> then <code>make install</code>. </p>
  
  <p>If I just add the file to the corresponding source and include directory, I got this error message: </p>
  
  <pre><code>Settings.cpp:(.text+0x969) : undefined reference to ... 
  </code></pre>
  
  <p>It looks like the makefile isn't able to produce the output file associated with my new source file (Source.cpp). So, I probably need to indicate it manually somewhere. </p>
  
  <p>I searched a bit in the project files and it seemed that the file to edit was: "Makefile.am".
  I added my source to the variable <code>iperf_SOURCES</code> in that file but it didn't workded. </p>
  
  <p>Could you help me to find the file where I need to indicate my new source file (it seems a pretty standard compilation scheme but I never used automake softwares and this one seems very complicated). </p>
  
  <p>Thank you in advance</p>