I have a C project that I am building on a Windows 10 host in netbeans using MinGW for the compilers. I can clean and build the project fine.
I tried cleaning the project from the command line using exactly the same command that netbeans shows in its Output tab:
C:\MinGW\msys\1.0\bin\make.exe -f Makefile CONF=Debug clean
However, when I run this, the 'rm' command is not recognised (whereas in netbeans it is). I assume this is something to do with an environment variable setting that netbeans uses (which should point to C:\MingGW\msys\1.0\bin ), but I can't find it anywhere in the netbeans project configuration files.
In the netbeans Makefile-Debug it uses the Makefile environment variable ${RM} but on printing this to screen it references 'rm -f'.