在 Windows 7 中使用 Makefile.am 和 Makefil.?

use*_*604 5 makefile

我搜索了其他帖子,如果这是一个愚蠢的问题,我深表歉意......但我有一些我想要编译的源代码。其中一个文件夹有 Makefile.am 和 Makefile.in,我假设我需要使用它们,但不知道如何使用。有什么建议吗?

谢谢

图像

Tim*_*oft 3

您需要某种版本的 GNU Automake

automake 的介绍可以在维基百科中找到。

http://en.wikipedia.org/wiki/Automake

Automake可以安装在windows下。

简单总结:

Makefile.am 、 Makefile.in 和 config.h.in 全部通过 Perl 和 M4 宏预处理器的魔力结合在一起。

攻击过程:

获取 perl 安装 获取用于 Windows 安装的自动工具

一旦全部安装完毕,调用 ./configure 并且 bob 是你的叔叔,你会得到一个 makefile。

这是unix脚本活动这一节的历史来源

{if no configure.in}
    #.autoscan
{if no ./configure}
    #.autoconf

#./configure
#make
#make install
Run Code Online (Sandbox Code Playgroud)

一旦安装了所有工具,您也可以做到这一点。