Mail Archives: djgpp/1996/04/23/08:23:40
:> >default all verif clean depend install:
:> > cd FirstDir
:> > make $@
:> > cd ..
:> > cd SecondDir
:> > make $@
:> > cd ..
:>
:> That's very odd... according to what the Make docs say, that shouldn't
:> work. Oh, well.
:
:That's because under Unix, each line is executed by another instance of
:the shell. And since on Unix the current working directory is local to
:the program, putting a cd on a line by itself does nothing: once the
:shell that did the cd returns you are back in your previous directory.
:Under MS-DOS that is not so.
So, if I understood well, there is absolutely no way of perform a
recursive make in a portable fashion ???
--
Eric Nicolas <nicolas AT dsys DOT ceng DOT cea DOT fr>
Take a look to the SWORD home page :
http://bunny.ensea.fr/Pages_Perso/Cedric_Joulain/sword.web/home.html
- Raw text -