www.digitalmars.com         C & C++   DMDScript  

c++.command-line - make

reply "chris elliott" <biol75 york.ac.uk> writes:
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
Jun 13 2003
parent mjs NOSPAM.hannover.sgh-net.de (Mark Junker) writes:
[..]
 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
Jun 14 2003