help-make
[Top][All Lists]
Advanced

[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:02:21 -0500

David Wuertele wrote:
> I have set up a system where my developers can make simple makefiles
> like this:
> 
>   PROGRAMS = myprogram
>   myprogram_OBJ = one.o two.o three.o
> 
>   PROGRAMS += herprogram
>   herprogram_OBJ = two.o three.o four.o
> 
>   include ../../davesrules.mk
> 
> And davesrules.mk creates and includes a .mk that has all the actual
> dependencies between programs and objects.  There are actually a lot
> of other requirements that I'd rather not go into that make the
> obvious "myprogram: one.o two.o three.o" statement unusable in my
> situation.

What about the possibly-not-so-obvious use of $(foreach) and $(eval)?

Noel
-- 
NOTICE: If received in error, please destroy and notify sender.  Sender does 
not waive confidentiality or privilege, and use is prohibited.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]