[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: |
Thu, 27 Jan 2005 08:21:57 -0500 |
%% Noel Yap <address@hidden> writes:
ny> Robert P. J. Day wrote:
>> *now*, i want to add another target, "populate", which works almost
>> the same way but it has to do some preliminary processing in this
>> makefile before the recursive (potentially parallel) call to the
>> subdirectories.
>>
>> if i call this preliminary processing step, say, "pre-populate", i
>> can't just do this:
>>
>> populate: pre-populate ${SUBDIRS}
>>
>> as those steps would be allowed to be done in parallel, which is not
>> good. and i can't add
>>
>> ${SUBDIRS}: pre-populate
>>
>> since that dependency should *only* take effect when i'm invoking the
>> makefile with the "populate" target, and no others.
ny> Then it sounds like you need to use order rules.
Order rules won't keep the dependency from taking effect if the
"populate" target is not specified.
--
-------------------------------------------------------------------------------
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, 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?, 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 <=
- 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?, Robert P. J. Day, 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?, Robert P. J. Day, 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