help-make
[Top][All Lists]
Advanced

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

Re: Nested calls in make


From: Paul Smith
Subject: Re: Nested calls in make
Date: Tue, 25 Nov 2008 07:52:59 -0500

On Tue, 2008-11-25 at 14:56 +0530, kalyan wrote:
> I would assume it goes to infinite loop. But what happens to "echo
> $(1)" . I get nothing on the console :(

Make cannot invoke the shell until after it's completely expanded the
script that it is supposed to pass to the shell.

Since the expansion fails with an infinite recursion, it never gets to
the "invoking the shell" part, and so you don't see any output.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.us
 "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]