%% "Leeuwesteijn,Joost" <[EMAIL PROTECTED]> writes: l> You can still remove all the .o files after the lib is created, but l> that wouldn't make much sense because everything will have to be l> rebuilt at the next make invocation; the whole purpose of make is l> to save time and only rebuild things that need to be rebuilt; l> reusing already created files.
This is not true: GNU make is smart enough to avoid rebuilding files that it knows it doesn't need. This only works with "incremental" tools such as ar (or if you have an incremental linker, but those are exceedingly rare these days). These are called "intermediate files"; see the section "Chains of Implicit Rules" in the GNU make manual. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
