autoconf、automake

概念

使用autoconfautomake

程序开发人员只需要写一些简单的含有预定义宏的文件,

autoconf根据一个宏文件生成configure,

automake根据另一个宏文件生成Makefile.in

再使用configure依据Makefile.in来生成一个符合惯例的Makefile

 

程序安装步骤一般分为:

./configure

make

make install

注:第一步./configure的文件是用户的一个脚本文件(或可执行程序),这里面完成了“autoconfautomakeconfigure的执行”这三个任务,最终产生Makefile

posted @ 2018-08-22 00:04  记录美好  阅读(161)  评论(0编辑  收藏  举报