I have folder consisting files:
How to run makefile? In console I type:make
and it says no makefiles found.
First step: download mingw32-make.exe from mingw installer, or please check mingw/bin folder first whether mingw32-make.exe exists or not, else than install it, rename it to make.exe . After renaming it to make.exe , just go and run this command in the directory where makefile is located.
From the Visual Studio start page, type "makefile" in the New Project search box. Or, in the New Project dialog box, expand Visual C++ > General (Visual Studio 2015) or Other (Visual Studio 2017) and then select Makefile Project in the Templates pane to open the project wizard.
Generates makefiles for use with mingw32-make under a Windows command prompt. Use this generator under a Windows command prompt with MinGW (Minimalist GNU for Windows) in the PATH and using mingw32-make as the build tool. The generated makefiles use cmd.exe as the shell to launch build rules.
Try to use MSYS : http://www.mingw.org/wiki/MSYS
MSYS is a collection of GNU utilities such as bash, make, gawk and grep to allow building of applications and programs which depend on traditionally UNIX tools to be present.
This allows to run bash-like scripts under windows.
MSYS is included in MinGW
package (direct download).
MinGW Shell :
NOTE : CygWin can do this too, I think.
EDIT : The link to MinGW above is 32 bits. If you are interested in a 64 bits version of it, please have a look here.
apt-get install
under Debian). This comes with a GUI that allows to choose/customize additional tools. Download it from here (The link above is kind of deprecated).Your cmd was in the wrong directory.
Shift and right-click in the folder that has the makefile (not on the makefile though) and then type: make
or if you have mingw: mingw32-make
.
It should then work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With