[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: |
Tue, 17 Feb 2004 23:50:11 -0500 |
%% Andre Majorel <address@hidden> writes:
>> You have to use eval.
am> Couldn't he write:
am> define newline
am> endef
am> $(foreach program,$(PROGRAMS),$(program): $($(program)_OBJ)$(newline))
am> ?
No. You can try it and see that it doesn't work.
A single line of a makefile is interpreted to be a single line of a
makefile, even if the expansion includes newlines.
The only way to do this is through eval.
--
-------------------------------------------------------------------------------
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
- how to suppress the included makefile not found warning?, David Wuertele, 2004/02/11
- Re: how to suppress the included makefile not found warning?, Greg Chicares, 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?, 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 <=
- 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, 2004/02/18
- 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