help-make
[Top][All Lists]
Advanced

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

How to stop building when sub-make returns error


From: elight
Subject: How to stop building when sub-make returns error
Date: Mon, 11 Jan 2010 20:55:47 -0800 (PST)

I have GNU make V3.81.

The rules for building system is like this:

all: pre_build main_build post_build

pre_build:
    ...

main_build:
    make -C $(BUILD_DIR) -r -f $(MAKEFILE)

post_build
    ...

Althouth the sub-make for the target 'main_build' makes an error, build
process proceeds to post_build.
I wish the build process would be stop when the sub-make has an error.

-- 
View this message in context: 
http://old.nabble.com/How-to-stop-building-when-sub-make-returns-error-tp27122668p27122668.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.





reply via email to

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