Mail Archives: djgpp/1998/06/19/10:30:45
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
> On Thu, 18 Jun 1998, Hartmut Schirmer wrote:
> > Bill Bartley wrote:
> > > if exist draw\*.o del draw\*.o
> > > make.exe[2]: *** [clean] Error -1
> > Looks like you don't compile under plain vanilla command.com ...
> One case why this could happen is if Bill has SHELL variable defined
> in the environment which points to Bash or some such.
>
> Makefile's which want to be robust in such cases should either set
> SHELL=command.com or call command.com explicitly, like this:
>
> command.com /c if exist draw\*.o del draw\*.o
>
> (Note: "command.com" and not "command", since Bash has an
> incompatible built-in command by the latter name.)
And don't set the MAKESHELL-variable to d:/path/bash.exe either!
--
Groeten, Michel. http://www.cs.vu.nl/~mdruiter
____________
\ /====\ / "You know, Beavis, you need things that suck,
\/ \/ to have things that are cool", Butt-Head.
- Raw text -