On Wed, 26 Jan 2005, Paul D. Smith wrote:

> %% "Robert P. J. Day" <[EMAIL PROTECTED]> writes:
>
>   rpjd> what's the proper way to enforce an ordering on a set of targets
>   rpjd> i have in the following context?  to make a long story short
>   rpjd> (but hopefully not so short that i leave out crucial info), i
>   rpjd> have the following in a makefile:
>
>   rpjd>   .PHONY: populate populate_base
>   rpjd>   populate: populate_base ${SUBDIRS}
>
>   rpjd> where, when i call this makefile with the target "populate",
>   rpjd> it's critical that the "populate_base" target there is processed
>   rpjd> first, *after* which all of the subdirectory targets can be done
>   rpjd> in parallel.
>
> If you want populate_base to be run before the subdirs, then they should
> depend on it, like this:
>
>     ${SUBDIRS}: populate_base

i knew i was going to be too brief and leave out salient info.  give
me a bit to write this up more carefully.

rday


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to