[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: |
Noel Yap |
Subject: |
Re: how to suppress the included makefile not found warning? |
Date: |
Wed, 11 Feb 2004 17:53:39 -0500 |
David Wuertele wrote:
>
> Noel> What about the possibly-not-so-obvious use of $(foreach) and $(eval)?
>
> I tried $(foreach), but I was not able to make it generate a pattern.
> I was doing something like this:
>
> $(foreach program,$(PROGRAMS),$(program): $($(program)_OBJ))
>
> For some reason, the iterated rules do not get parsed.
Yeah, you need $(eval) (be sure you're using gmake-3.80 with the $(eval)
patches):
$(foreach p,$(PROGRAMS),$(eval $(p): $($(p)_OBJ)))
HTH,
Noel
--
NOTICE: If received in error, please destroy and notify sender. Sender does
not waive confidentiality or privilege, and use is prohibited.
- Re: how to suppress the included makefile not found warning?, (continued)
- 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, 2004/02/18
- Re: how to suppress the included makefile not found warning?,
Noel Yap <=
- 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