The example you gave does not need the 'set -e'. Make will stop if the exit code returned by the "sh -c" is non-zero. In this case, if bar fails, the exit code will be nonzero and Make will stop with the message : ** Error code 1 Stop. David