On Thu, Dec 17, 2020 at 1:18 AM Kaz Kylheku (gmake)
<[email protected]> wrote:
>
> On 2020-12-16 01:50, Sébastien Hinderer wrote:
> > Masahiro Yamada (2020/12/16 18:45 +0900):
> >> In hindsight, the preceding *** is a bit unfortunate
> >> (I do not see it for $(warning) )
> >> but this works.
> >
> > Perhaps you could use the info function to print your message and then
> > callthe error one with an empty string just to abort...
>


The difference is that $(info ...) sends the message to stdout.

I prefer sending error messages to stderr.


> > Sébastien.
>
> Or:
>
> Makefile:1: first line
> Makefile:2: second line
> Makefile:3: *** This is a fatal error.  Stop.
>
>

Yeah, I like this better.


--
Best Regards
Masahiro Yamada

Reply via email to