help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -include completely turns off errors


From: Paul D. Smith
Subject: Re: -include completely turns off errors
Date: Sun, 16 May 2004 15:18:13 -0400

%% Noel Yap <address@hidden> writes:

  ny> This behaviour persists even if an order rule is used:

  ny> # GNUmakefile
  ny> -include foo.mk

  ny> .PHONY: all
  ny> all: | foo.mk
  ny>   @echo $(@)

  >> I have the following makefile:
  >> 
  >> -include foo.mk
  >> 
  >> .PHONY: all
  >> all: foo.mk
  >> @echo all
  >> 
  >> 
  >> Since there's no rule to create foo.mk, I'd expect the build to fail 
  >> since all is dependent on foo.mk, but it seems that the -include turns 
  >> off this error.  Is this a bug?

I've just committed changes which I believe fix these issues.

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