[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trying to emulate "include"
From: |
wim delvaux |
Subject: |
Re: trying to emulate "include" |
Date: |
Wed, 10 Dec 2003 18:59:58 +0100 |
User-agent: |
KMail/1.5.4 |
On Wednesday 10 December 2003 18:30, Noel Yap wrote:
> wim delvaux wrote:
> > I do not understand what you want to acchieve.
> >
> > -include X
> >
> > X is optional
> >
> > include X
> >
> > X MUST be present -> else error
> >
> > so why the wildcard if 'include' without - does the same ???
>
> include X emits a message even if make is able to build the makefile and
> succeed. I want the message emitted with an error if and only if the
> makefile doesn't exist and make doesn't know how to build it.
I do not think you can solve that from within makefiles. I think
you need to patch make ...
You cannot modify behavior of make from within make
> Thanks,
> Noel