[Top][All Lists]

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

Re: include file error

From: Paul D. Smith
Subject: Re: include file error
Date: Wed, 20 Nov 2002 21:00:29 -0500

%% "Brock, Don E" <address@hidden> writes:

  bde> There appears to a problem in the way that GNU make 3.80 on both
  bde> Solaris and Windows Y2K works with an undefined include file
  bde> name.  If a given include file is not found, then make will print
  bde> "No such file or directory" and then exit.  If no file name is
  bde> given at all, then it will print "no file name for `include'" and
  bde> continue processing.  I believe that the behavior should be than
  bde> if no file name is given, then it should print the error message
  bde> and then exit.

Hmm.  This would be an incompatible change... it's possible people are
using this capability in areas like:

  include $(wildcard *.mk)

If -include allows it to succeed that might be good enough.  I'll think
about this.

 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]