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: Paul D. Smith
Subject: Re: how to suppress the included makefile not found warning?
Date: Wed, 11 Feb 2004 17:06:12 -0500

%% Noel Yap <address@hidden> writes:

  ny> 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

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

Yep.  I actually have a build system that looks very similar to this,
done completely with eval instead of include.

Someday I'll clean it up and get it on my web site...

-- 
-------------------------------------------------------------------------------
 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




reply via email to

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