如何在Windows中运行Makefile [英] How to run makefile in Windows

查看:746
本文介绍了如何在Windows中运行Makefile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有包含文件夹的文件:

I have folder consisting files:

如何运行makefile?在控制台中,输入:make,它说找不到makefile.

How to run makefile? In console I type:make and it says no makefiles found.

推荐答案

尝试使用MSYS: http://www.mingw.org/wiki/MSYS

MSYS是GNU实用程序的集合,例如bash,make,gawk和 grep允许构建依赖于 传统上会出现UNIX工具.

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.

这允许在Windows下运行类似bash的脚本.

This allows to run bash-like scripts under windows.

MSYS 包含在MinGW软件包中(

MSYS is included in MinGW package (direct download).

MinGW Shell:

MinGW Shell :

注意: CygWin 也可以做到这一点.

NOTE : CygWin can do this too, I think.

到上面的MinGW的链接是32位.如果您对它的64位版本感兴趣,请在此处.

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.

这篇关于如何在Windows中运行Makefile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆