help-make
[Top][All Lists]
Advanced

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

Re: how to enforce ordering on a set of targets?


From: Noel Yap
Subject: Re: how to enforce ordering on a set of targets?
Date: Wed, 26 Jan 2005 17:36:45 -0500
User-agent: Mozilla Thunderbird 0.5 (Windows/20040212)

The "proper" way:

.PHONY: populate_base
populate_base: ${SUBDIRS}

.PHONY: populate
populate: populate_base

The "convenient" way (needs 3.80 IIRC):

.PHONY: populate populate_base
populate: populate_base | ${SUBDIRS}

Robert P. J. Day wrote:

  what's the proper way to enforce an ordering on a set of targets i
have in the following context?  to make a long story short (but
hopefully not so short that i leave out crucial info), i have the
following in a makefile:

  .PHONY: populate populate_base
  populate: populate_base ${SUBDIRS}

where, when i call this makefile with the target "populate", it's
critical that the "populate_base" target there is processed first,
*after* which all of the subdirectory targets can be done in parallel.

  what's the standard way to handle that?  thanks.

rday


_______________________________________________
Help-make mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-make




reply via email to

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