[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to suppress the included makefile not found warning?
From: |
Paul D. Smith |
Subject: |
Re: how to suppress the included makefile not found warning? |
Date: |
Wed, 18 Feb 2004 08:19:07 -0500 |
%% Andre Majorel <address@hidden> writes:
>> A single line of a makefile is interpreted to be a single line of a
>> makefile, even if the expansion includes newlines.
am> Not for recipes, apparently:
am> Why it works for generating recipes and not for target-dependencies
am> lines, is a complete mystery to me.
Because rule lines are parsed during the initial read of the makefile on
a line-by-line basis. Once a line is read in the parser treats it as
one line for the purposes of deciding what it is.
Command scripts are parsed when the rule is about to be executed, and
they are split up at that time. Plus make doesn't have to interpret the
lines, it just sends them to the shell to interpret.
--
-------------------------------------------------------------------------------
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
- Re: how to suppress the included makefile not found warning?, (continued)
- Re: how to suppress the included makefile not found warning?, David Wuertele, 2004/02/11
- Re: how to suppress the included makefile not found warning?, Noel Yap, 2004/02/11
- Re: how to suppress the included makefile not found warning?, David Wuertele, 2004/02/11
- Re: how to suppress the included makefile not found warning?, Noel Yap, 2004/02/11
- Re: how to suppress the included makefile not found warning?, Paul D. Smith, 2004/02/11
- Re: how to suppress the included makefile not found warning?, David Wuertele, 2004/02/11
- Re: how to suppress the included makefile not found warning?, Paul D. Smith, 2004/02/11
- Re: how to suppress the included makefile not found warning?, Andre Majorel, 2004/02/17
- Re: how to suppress the included makefile not found warning?, Paul D. Smith, 2004/02/17
- Re: how to suppress the included makefile not found warning?, Andre Majorel, 2004/02/18
- Re: how to suppress the included makefile not found warning?,
Paul D. Smith <=
- Re: how to suppress the included makefile not found warning?, Noel Yap, 2004/02/11
- Re: how to suppress the included makefile not found warning?, David Wuertele, 2004/02/11
- Re: how to suppress the included makefile not found warning?, Paul D. Smith, 2004/02/11
- Re: how to suppress the included makefile not found warning?, Paul D. Smith, 2004/02/11