Bo Peng wrote:
> Abdel,
>
> I think I now understand what you mean: you want to use existing
> libraries when CCFLAGS changes.
Not only other libraries but also all the objects of the files that do
not depend on the file I just modified. This is just an overriding of
the CCFLAGS option.
> modules to link. This feature is reasonable, but is somehow wrong. (I
> really doubt if autotools will do this for you as default).
It is not autotools but Gnu Make which allows to override any variable
defined in the makefiles, including CFLAGS and CXXFLAGS.
> However, I
> do see the potential for a faster build system using this approach.
Good.
[...]
> Please test. The patch itself is a great example of scons'
> flexibility. Note that clever use of this option will greatly reduce
> initial thinking time of scons since most of the directory will *not*
> even be scanned.
This looks like a nice feature and a good compromise to what I was
asking :-)
Thanks,
Abdel.