documentation issue with $^

2013-01-11 Thread John Ulvr
$^ and $+ are defined twice in the documentation (http://www.gnu.org/software/make/manual/make.html). The second time, it does not mention the exclusion of order-only dependencies, implying they are included. $^ The names of all the prerequisites, with spaces between them. For prerequisites

Re: [Question] How can i stop build immediately in build fail?

2013-01-11 Thread David Boyce
It may be a reasonable feature request but it also may not be that hard to implement with existing functionality. Here's one approach: % cat makefile SHELL := $(abspath shx) .PHONY: job job: job1 job2 .PHONY: job1 job1: sleep 3 exit 1 .PHONY: job2 job2: while echo ok;