Generate two object files from the same source file in scons <p>Does scons allow to rename the result of Object('foo.cpp') along the lines of</p> <pre><code> o1 = env1.Object('src/foo.cpp', targetname='bar.o') o2 = env2.Object('src/foo.cpp', targetname='ney.o') </code></pre> <p>so that I can create two different object files from the same source file but different environments?</p>