On Mon, Nov 24, 2008 at 4:52 AM, Tao T <[EMAIL PROTECTED]> wrote: > Currently the situation is that I want stop the parent_make immediately when > there is an error occurs in sub_make. ... > I hope the parent exit immediately when the sub'error occurs. > who has some suggestion to achieve this functionality?
By default, if a command run for a rule fails, make fails the rule and exits. If that's not happening, it's because the rule definitions in the 'parent' makefile are throwing away or ignoring the status of the recursive make calls. So: fix your broken rules. (If you want more details, you should show what those rules currently look like.) Philip Guenther _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
