Hi Matt, > 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
You're actually executing two commands. And make is seeing the return code from the ls -l. So split it into two lines and it should fail if trying to cd into a non-existance directory. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
