title: "make clean" issue in MSYS/Cygwin
body: <p>I finally managed to compile a program in Windows, which took a while and would have not been possible without some help from here. It all works now, except: "make clean" yields</p>
  
  <pre><code>/bin/sh: del: command not found
  Makefile:44: recipe for target `clean' failed
  make: *** [clean] Error 127
  </code></pre>
  
  <p>In the makefile, the clean command looks like</p>
  
  <pre><code>clean:
  del /S *.o *~ *.out [...], eliminating all resulting .o and executables resulting from make.
  </code></pre>
  
  <p>mingw64 is in the path, and I tried with <code>cygwin/bin</code> in the path and without, both with the same result. "Make" was done with <code>mingw32-make</code> in <code>msys</code>. I also tried "mingw-32-make clean" in <code>msys</code>, still no luck; I am also not sure if "make clean" is supported in Cygwin at all. I run the whole thing on Windows 7, 64 bit.</p>
  
  <p>How can I fix this problem?</p>
  
  <p><img src="https://i.stack.imgur.com/Df5JH.jpg" alt="Error with rm instead of del"></p>