cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Potentially wiped disk with Makefile.b32

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Tue, 22 Mar 2011 10:59:25 +0100

"Gisle Vanem" <gvanem_at_broadpark.no> wrote:
 
> Also there is a problem if you have e.g. 'rmdir.exe' on path (like i have with
> CygWin's /usr/bin/rmdir.exe). AFAICS Borland's make doesn't have 'del', 'rmdir'
> etc. internally (like wmake have). So if you have 'rmdir.exe on path, 'make clean'
> doesn't work as intended. I think it would be better to let the shell perform the 'del',
> 'rmdir' etc.

I gather we could just do:
  RMDIR = $(COMSPEC) /c mkdir /q 2>NUL

--gv
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-03-22