[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to enforce ordering on a set of targets?
From: |
Paul D. Smith |
Subject: |
Re: how to enforce ordering on a set of targets? |
Date: |
Wed, 26 Jan 2005 17:54:44 -0500 |
%% "Robert P. J. Day" <address@hidden> 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
Now no target in SUBDIRS will be started until populate_base is complete.
--
-------------------------------------------------------------------------------
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
- how to enforce ordering on a set of targets?, Robert P. J. Day, 2005/01/26
- Re: how to enforce ordering on a set of targets?, Noel Yap, 2005/01/26
- Re: how to enforce ordering on a set of targets?,
Paul D. Smith <=
- Re: how to enforce ordering on a set of targets?, Robert P. J. Day, 2005/01/26
- Re: how to enforce ordering on a set of targets?, Robert P. J. Day, 2005/01/26
- Re: how to enforce ordering on a set of targets?, Noel Yap, 2005/01/27
- Re: how to enforce ordering on a set of targets?, Paul D. Smith, 2005/01/27
- Re: how to enforce ordering on a set of targets?, Noel Yap, 2005/01/27
- Re: how to enforce ordering on a set of targets?, Paul D. Smith, 2005/01/27
- Re: how to enforce ordering on a set of targets?, Noel Yap, 2005/01/27
- Re: how to enforce ordering on a set of targets?, Paul D. Smith, 2005/01/27