#165 mingw32-make does not set $(RM) to "del"

non-mingw (2)


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.

- Fabian


  • Earnie Boyd

    Earnie Boyd - 2013-01-02
    • labels: 456608 --> 697602
  • Earnie Boyd

    Earnie Boyd - 2013-01-02
    • labels: 697602 --> non-mingw
    • milestone: --> Not_MinGW_related
    • status: open --> closed
  • Earnie Boyd

    Earnie Boyd - 2013-01-02

    You'll need to make your request to make-w32@gnu.org.

  • Keith Marshall

    Keith Marshall - 2013-01-07

    FWIW, I think it's a bug in your makefile, that it doesn't set RM itself; try to run it through any make, other than GNU make, and it will probably blow up because $(RM) expands to nothing at all.

    As a non-standard extension, GNU make DOES supply a default expansion for $(RM), so it would make sense for that to be a sane expansion. However, as Earnie has already said, you'll need to take that up with the folks who actually maintain it, at make-w32@gnu.org