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
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make