help-make
[Top][All Lists]
Advanced

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

how to enforce ordering on a set of targets?


From: Robert P. J. Day
Subject: how to enforce ordering on a set of targets?
Date: Wed, 26 Jan 2005 17:23:53 -0500 (EST)

  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




reply via email to

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