title: Scons tutorial with an emphasis on fortran
body: <p>When I google for the items in the title, the best I'm finding are some semi-useful, quick-written tutorials. Is there an authoritative scons tutorial (or even better, a book!) that deals with the whole matter - from correct installation, to writing "makefiles". It would be even better if it dealt with some of the fortran aspects (dependencies)?</p>
  
  <p><em>p.s. Is this ontopic here, or should have it gone to programmers? On SuperUser it would probably be okey, but I doubt the target population there uses SCons as much as people here.</em></p>
  
  <hr>
  
  <p>Edit: <em>Compiling an example fortran program with modules</em></p>
  
  <p>Program source files in <code>c:\some-project\source\</code>  </p>
  
  <pre><code>main.f90 (program)
  constants.f90 (module with subroutines)
  interpolation.f90 (subroutines)
  </code></pre>
  
  <p>a) build modules<br>
  b) build program (so .exe winds up) in <code>c:\some-project\build\</code><br>
  c) clean up .obj files afterwards</p>
  
  <p>How to do it with Scons + ifort (or any other compiler - I'll modify the switches afterwards)?</p>