On Thu, May 29, 2008 at 6:50 PM, mangetsu <[EMAIL PROTECTED]> wrote:
> subst K: D:\wibble\wobble
> cd /D K:
> Z:\tools\program.exe
>
> 'cd /D K:' executes without errors, but the next line,
> 'z:\tools\program.exe' is still called from the directory where the makefile
> is located.

Hi!

You need to read up on make's rules for multiple commands. In brief,
you need to change the commands to a single virtual line. On a unix
machine that would be done like this:

subst K: D:... ; \
 cd /D K: ; \
 Z:\\tools\\program.exe

Note the semicolons and backslashes at the end of each line. i have NO
idea if the windows shell supports the semicolon as a separator,
though.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/


_______________________________________________
Help-make mailing list
Help-make@gnu.org
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to