delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/28/14:22:26

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Lotus-FromDomain: JPMORGAN AT SMTP
From: "Noel L Yap" <yap_noel AT jpmorgan DOT com>
To: david DOT karr AT cacheflow DOT com
cc: cygwin AT cygwin DOT com
Message-ID: <85256A79.0062C8FE.00@nyc-ntgw-n01.ny.jpmorgan.com>
Date: Thu, 28 Jun 2001 13:58:55 -0400
Subject: Re: Make: How to force a particular build order when using "-jN"
Mime-Version: 1.0

I wouldn't think so.

The way to control order would be:

all: foo

foo: bar
     touch $@

bar:
     touch $@

then bar would get built before foo.

Noel


|--------+------------------------>
|        |                        |
|        |          david DOT karr AT cac|
|        |          heflow.com    |
|        |                        |
|        |          06/28/01 11:45|
|        |          AM            |
|        |                        |
|--------+------------------------>
  >----------------------------------------------------------------------------|
  |                                                                            |
  |       To:     cygwin AT cygwin DOT com                                            |
  |       cc:     (bcc: Noel L Yap)                                            |
  |       Subject:     Make: How to force a particular build order when using  |
  |       "-jN"                                                                |
  >----------------------------------------------------------------------------|






When in the presence of "make -jN", and with the following example, I
believe that the order of building "foo" and "bar" is indeterminate.

-------------
all: foo bar

foo:
     touch foo

bar:
     touch bar
-------------

However, is it the case that with this next example, that the order CAN be
determined, and that "foo" would be built before "bar", even in the presence
of "make -jN"?

-------------
all:: foo
all:: bar

foo:
     touch foo

bar:
     touch bar
-------------

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/





This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019