help-make
[Top][All Lists]
Advanced

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

Re: Does (normal) prerequisite order matter?


From: Paul D. Smith
Subject: Re: Does (normal) prerequisite order matter?
Date: Fri, 18 Nov 2005 17:12:26 -0500

%% Matt England <address@hidden> writes:

  me> Does the following work to support parallel builds (without above
  me> the sleep's and touch's):

I don't know what "support parallel builds" means to you but:

  me> target1: prereq1 prereq2

This line says "both prereq1 and prereq2 must complete before target1 is
run, AND if either prereq1 or prereq2 is newer than target1 after they
have been rebuilt, then target1 will be rebuilt".

  me> prereq2: | prereq1

This says "prereq1 must complete before prereq2 will be run, BUT the
decision on rebuilding prereq2 will completely ignore prereq1."

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