%% David Boyce <[EMAIL PROTECTED]> writes:

  db> I'm looking for clarification on what _should_ happen when you
  db> specify the same target(s) repeatedly on the command line.

  db> Which could be taken to imply the behavior (clean twice, build
  db> twice) I expected. This is not a huge problem - I'm just wondering
  db> if there's history or a spec in back of it.

I don't know about a standard, but I'm pretty sure all makes behave like
this.  I think the theory is that there's some "meta-target" which is
really the one make runs, and is prerequisites are the ones on the
command line; so:

    <meta>: clean all clean all

Which obviously only builds "clean" and "all" once, because once it's
been built make assumes it's up to date... and if it isn't, doing it
again won't help.

-- 
-------------------------------------------------------------------------------
 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

Reply via email to