Trying to understand how $(error) works. The manual says "error is
generated whenever this function is evaluated."  With the makefile below I
would expect to see output from line1 of the recipe but only see output
from $(error).
# error.mk
.PHONY: target

target:
        @echo recipe line 1
        $(error debug exit recipe line 2)

$ make -f error.mk
error.mk:5: *** debug exit recipe line 2.  Stop.


Thanks,
Chris


Chris Cross
DataPower Development
[email protected]
office 561-862-3026_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to