How to use GNU Make on Windows? How to use GNU Make on Windows? windows windows

How to use GNU Make on Windows?


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!


I'm using GNU Make from the GnuWin32 project, see http://gnuwin32.sourceforge.net/ but there haven't been any updates for a while now, so I'm not sure on this project's status.


Although this question is old, it is still asked by many who use MSYS2.

I started to use it this year to replace CygWin, and I'm getting pretty satisfied.

To install make, open the MSYS2 shell and type the following commands:

# Update the package database and core system packagespacman -Syu# Close shell and open again if needed# Update againpacman -Su# Install makepacman -S make# Test it (show version)make -v