At 05:45 PM 4/20/2006, Brendan Heading wrote:
David Boyce wrote:
I'm looking for clarification on what _should_ happen when you
specify the same target(s) repeatedly on the command line.
Background: while working on speeding up a particular build I've
gotten in the habit of running something like:
% time make -s clean all
Seems like a bad idea anyway, as you'll break parallel builds
(unless "all" depends on "clean" .. which would make mentioning
"clean" on the cmd line redundant anyways ..
(all makefiles these days really should be written to assume they'll
be run with -j.. )
Look back at what I wrote - this has nothing to do with how the
makefile is written, it has only to do with what I type at the
command line. And I'm not typing "-j".
There's no reason anyone would ever use "make clean all clean all" in
a production build. I'm only doing so as part of a tuning process, as noted.
-David Boyce
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make