help-make
[Top][All Lists]
Advanced

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

Re: Intermediate files are not being rebuilt


From: Simon De Groot
Subject: Re: Intermediate files are not being rebuilt
Date: Fri, 28 Jan 2005 09:03:26 +0100


Hi Paul,

I've been able to build macro's for those intermediate files using the available string functions. Thanks a lot for your help!

Regards,

Simon de Groot




"Paul D. Smith" <address@hidden>
Sent by: "Paul Smith" <address@hidden>

01/27/2005 04:58 PM

Please respond to
"Paul D. Smith" <address@hidden>

To
"Simon De Groot" <address@hidden>
cc
address@hidden
Subject
Re: Intermediate files are not being rebuilt





%% "Simon De Groot" <address@hidden> writes:

 sdg> Thanks for your answer. The foo-target approach indeed renders
 sdg> the target non-intermediate and causes it to be rebuilt. Do you
 sdg> also have a solution to do this for pattern rules like sub%, or
 sdg> would I have to define:

 sdg> foo : sub1 sub2 ... subblabla ... subi'mgettingtirednow

I don't know of any other way than listing them all.

The idea is that you must know what these are, or at least be able to
compute them from other, known file names using functions like patsubst,
etc.

After all, if you can write a chain of pattern rules that starts with a
known target and works back to a source file (known or not) you can
perform that exact same operation on the known target with patsubst
functions to derive all the intermediate filenames.

--
-------------------------------------------------------------------------------
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



reply via email to

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