Re: mingw32-make does not set $(RM) to "del"
Eli Zaretskii <[email protected]> Wed, 02 Jan 2013 19:56:11 +0200
| Newsgroups | gmane.comp.gnu.make.windows |
|---|---|
| Message-ID | <[email protected]> |
> Date: Wed, 02 Jan 2013 14:38:29 +0100 > From: Fabian Greffrath <[email protected]> > > occationally, I use mingw32-make for building very simple projects. > However, it fails to call the clean: rules, because they remove the > object files with "(RM) *.o" (similar). However, $(RM) is still set to > "rm -f", which does not exist outside MSYS. Please fall back to > Windows' own "del" in such case. This won't work on older Windows versions, where "DEL" can only accept a single argument, and (AFAIR) doesn't have the equivalent of the -f option. The solution is to install a Windows port of GNU Coreutils. One such port is available from the GnuWin32 site.