Differences

This shows you the differences between two versions of the page.

sep:software:sepscons [2009/02/13 02:31]
sjoerd
sep:software:sepscons [2015/05/27 02:06] (current)
Line 83: Line 83:
env.SProgram('driver.f90') env.SProgram('driver.f90')
</code> </code>
 +==== Build, Clean and Burn ==== 
 +Although the target of the above ''SConstruct'' file is ''~/bin/driver.x'', it is aliased under ''driver.x''. Thus running 
 +<code> 
 +>> scons driver.x 
 +</code> 
 +Would build the specific target. All intermediate files can be cleaned running scons with the clean flag: 
 +<code> 
 +>> scons -c driver.x 
 +</code> 
 +or 
 +<code> 
 +>> scons --clean driver.x 
 +</code> 
 +The final target file ''~/bin/driver.x'' was kept save from the clean because SProgram protected it with the SCons ''Noclean'' function. When the target needs to be burned, just run SCons with the burn flag: 
 +<code> 
 +>> scons --burn driver.x 
 +</code> 
 +This will enable clean mode and while the target is not protected by ''Noclean''. Effectively removing all the files created by the initial build.
====== FFTW and OPENMP ====== ====== FFTW and OPENMP ======
/web/html/data/attic/sep/software/sepscons.1234492272.txt.gz · Last modified: 2015/05/26 22:41 (external edit)
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0