Did you install MSYS too? "rm" is not necessarily there for you on Windows (and you should investigate what make tool you're using that doesn't recognize # comments, since you can see #remove there in your command). I'm guessing that 2 is the error code from make.