Re: Potentially wiped disk with Makefile.b32

2011-03-22 Thread Gisle Vanem
"Yang Tse" wrote: Currently I have no Borland compiler installation to test any changes, so it is better if you introduce required changes to the removal of $(OBJDIR). Ok, I have some time this week to do it. Would it be enough to use "md" and "rd" to avoid CygWin's "rmdir.exe" ? I think

Re: Potentially wiped disk with Makefile.b32

2011-03-22 Thread Yang Tse
2011/3/22 Gisle Vanem wrote: > I have a big problem with the use of "rmdir /s" in the Makefile.b32 files. > The 'make clean' could really create mayhem for a inexperienced user or > from a small error/typo in these makefiles. Here is a warning in this regard > (from the 4nt shell docs): > /S (Sub

Re: Potentially wiped disk with Makefile.b32

2011-03-22 Thread Gisle Vanem
"Gisle Vanem" 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 th

Potentially wiped disk with Makefile.b32

2011-03-22 Thread Gisle Vanem
I have a big problem with the use of "rmdir /s" in the Makefile.b32 files. The 'make clean' could really create mayhem for a inexperienced user or from a small error/typo in these makefiles. Here is a warning in this regard (from the 4nt shell docs): /S (Subdirectories) (4NT, TC) This option is