Hi all,

Does make return the exit code that caused the build to fail?
[ quick test ]
No, doesn't seem to do so.

(I'm developing on Windows, sorry... Looking into switching to bash, etc.)

------------------
.PHONY : all

all:
        exit 123
------------------

Output:
------------------
C:\>make -f zut.mk
exit 123
make: *** [all] Error 123

C:\>echo %errorlevel%
2
------------------

Make seems to return 2. What error levels are there for make itself? Or am I
looking at a Windows port specific feature here?

Regards,
Joost Leeuwesteijn


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to