I find that the 'cd' command in this rule does not stop this make script:


all:
        cd bogus-this-is-not-a-real-directory; ls -l
        @echo This is the 2nd cmd in the rule


How can I get make to error, and stop on this error, when trying to 'cd' to an invalid directory?

-Matt



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

Reply via email to