bug-make
[Top][All Lists]
Advanced

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

Re: add order-only-prerequisites example


From: Paul D. Smith
Subject: Re: add order-only-prerequisites example
Date: Mon, 30 Aug 2004 21:48:02 -0400

%% Dan Jacobson <address@hidden> writes:

  Paul> Sometimes features are advanced enough that providing a simple
  Paul> example

  dj> Well still, a few-liner showing how
  dj> a: b|c
  dj> differs from
  dj> a: b c
  dj> wouldn't hurt.

True.

  dj> Occasionally, however, you have a situation where you want to
  dj> impose a specific ordering on the rules to be invoked _without_
  dj> forcing the target to be updated if one of those rules is
  dj> executed.  In that case, you want to define "order-only"
  dj> prerequisites.

  dj> Without plenty of interspersed examples, that still will take deep
  dj> concentration to understand, even more if the reader is not a native
  dj> English speaker.

Undoubtedly.  Order-only prerequisites are definitely an advanced
feature.  I doubt most people are really able to grok them until they
run across a real-life situation where they are needed.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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




reply via email to

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