I need some extra files (p.ex. memory mapping) from the linker thus I've modified the flags accordingly: myenv.Append(LINKFLAGS=...)
How could I get these additional .map files cleaned up with scons -c?
I know there are Emitters to add targets. Is it possible to extend a buildin builder of myenv?
What is an appropriate way?
Ok, I found a way to do it. Scons provides a variable
PROGEMITTERwhich is documented as 'TODO'.For other builders you could use
add_emitter. You'll find all loaded builders inmyenv['BUILDERS'].