[Top][All Lists]

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

Re: Query: Regarding gmake 3.79.1

From: Paul D. Smith
Subject: Re: Query: Regarding gmake 3.79.1
Date: Wed, 13 Feb 2002 09:33:21 -0500

%% address@hidden writes:

  bg> I was trying to call a function recursively within itself in a
  bg> makefile. But the makefile implementation do not allow to call it
  bg> recursively. Is there any other short cut to call a recursive
  bg> function.

Do you mean variables? I don't recall any restrictions on calling
functions recursively.

Recursive variable references are disallowed because there is no way to
stop the recursion: it will just recurse forever until make runs out of
memory and dies.

You'll have to give an example.

 Paul D. Smith <address@hidden>          Find some GNU make tips at:            
 "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]