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: David Wuertele
Subject: Re: how to suppress the included makefile not found warning?
Date: Wed, 11 Feb 2004 13:15:42 -0800
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.2 (gnu/linux)

Greg> Consider using this approach instead:
Greg>   http://make.paulandlesley.org/autodep.html

I looked into that, but it doesn't solve the problem that I have of
needing to autogenerate lists of .o files to make an includable
dependency file that looks like this:

  some-executable: some-object.o other-object.o that-object.o

>> I want to stop make from printing out this warning, but I don't want
>> to stop make from automatically generating the targetdeps.mk file.  Is
>> there a way to just silence the warning?

Greg> Prefix the 'include' directive with a hyphen.
Greg> Of course, when that prevents a warning, any dependency
Greg> file that gets generated later won't get included later,
Greg> which might be a problem.

Yes, that's a problem.  Is there any other way to silence it?





reply via email to

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