%% Martin Willers <[EMAIL PROTECTED]> writes: >> However, this re-links toplevel on each invokation of "make", >> even if no files have been changed at all.
mw> Paul's solution isn't quite enough You didn't quote it, but IIRC my solution was to use order-only prerequisites for this, right? mw> - you'd need two passes of 'make' with that (because after mw> building eg. foo/libfoo.a, the prerequisite-check for 'toplevel' mw> has already been done, so 'toplevel' would not be updated, unless mw> you'd run 'make' a second time). With this two-stage approach mw> above, everything is working as it should. Hm. Interesting. It seems to me like it would make sense for GNU make to always build all order-only prerequisites first, before any of the "normal" prerequisites. Would that be good enough? Or am I forgetting something? -- ------------------------------------------------------------------------------- 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
