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: Paul D. Smith
Subject: Re: Intermediate files are not being rebuilt
Date: Thu, 27 Jan 2005 10:58:14 -0500

%% "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]