June 13, 2003
for digital mars make 5.02:

this makefile

all:
        cd c:\wxwindows\src
        dir *.*
        make -f makefile.sc

I don't think the cd actually has any effect - it still does a dir of the starting directory and then restarts the makefile, rather than the one in the specified directory

chris


June 14, 2003
[..]
> all:
>         cd c:\wxwindows\src
>         dir *.*
>         make -f makefile.sc

> I don't think the cd actually has any effect - it still does a dir of the starting directory and then restarts the makefile, rather than the one in the specified directory

Try the following:
all:
        echo cd c:\wxwindows\src > tmp.bat
        echo dir *.*             >> tmp.bat
        echo make -f makefile.sc >> tmp.bat
        echo cd c:\olddir        >> tmp.bat
        tmp.bat

Regards,
Mark Junker