[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trying to emulate "include"
From: |
Paul D. Smith |
Subject: |
Re: trying to emulate "include" |
Date: |
Wed, 10 Dec 2003 12:39:41 -0500 |
%% Noel Yap <address@hidden> writes:
ny> include X emits a message even if make is able to build the
ny> makefile and succeed. I want the message emitted with an error if
ny> and only if the makefile doesn't exist and make doesn't know how
ny> to build it.
You can't do that.
If you don't use "-include" and instead just use "include", then make
will throw an error itself in the case you mention above.
--
-------------------------------------------------------------------------------
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