[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:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist