I installed MinGW and MSYS, added C:\MinGW\bin
to PATH
but I still can't run Makefile on Windows' cmd
. I would like to run cmd.exe and there type, for example, make all
but my cmd says that there is no such command.
What should I do? I don't want to use MSYS shell, that's not the point. Any ideas how to use GNU Make in Windows cmd as I can do it in Ubuntu? I'm not interested in Cygwin
.
Here's how I got it to work:
copy c:\MinGW\bin\mingw32-make.exe c:\MinGW\bin\make.exe
Then I am able to open a command prompt and type make:
C:\Users\Dell>make
make: *** No targets specified and no makefile found. Stop.
Which means it's working now!