bug-make
[Top][All Lists]
Advanced

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

output from $(error) lost with output sync


From: Oliver Kiddle
Subject: output from $(error) lost with output sync
Date: Wed, 08 Jan 2014 17:53:22 +0100

Given the following Makefile, the output from the error function is
being lost when the gmake 4 output-sync is enabled:

foo: $(OBJS)
        echo $(or $(filter %.o,$^),$(error No input files for library: $@))


% gmake
Makefile:2: *** No input files for library: foo.  Stop.
% gmake -O
%

With $(info ) and $(warning ), there is no problem.

Oliver



reply via email to

[Prev in Thread] Current Thread [Next in Thread]