help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make repeated goals repeatedly?


From: David Boyce
Subject: Re: make repeated goals repeatedly?
Date: Thu, 20 Apr 2006 18:03:37 -0400

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]