At 01:56 PM 4/9/2003 -0400, Arthur Davis wrote:
-include does cause make to suppress printing the message, but it
also indicates that it is ok if the file does not exist which in my
case was not true.
Again, I probably don;t understand the problem but ...
Can't your rule for the potentially non-existent include file do
*anything* you need it to?
% cat foo.mak -include bar.mak
bar.mak: @echo making $@ .. @false
% make -f foo.mak making bar.mak .. make: *** [bar.mak] Error 255
Changing false to true above allows make to complete successively.
dave russo wrote:
> The ability for this to be suppressed is requested in bug #102.
_> http://savannah.gnu.org/projects/make
_> I don't think there's any way to do it currently.
I probably don't understand the problem but ...
I thought that "-include" was supposed to be used to suppress errors.
make also seems to "do the right thing" if the file does not exist
and make has a rule to create it; i.e., it creates it and
recursively restarts.