make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mingw32-make does not set $(RM) to "del"


From: Eli Zaretskii
Subject: Re: mingw32-make does not set $(RM) to "del"
Date: Wed, 02 Jan 2013 19:56:11 +0200

> Date: Wed, 02 Jan 2013 14:38:29 +0100
> From: Fabian Greffrath <address@hidden>
> 
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]