1.autoscan
2.在生成的configure.scan里添加
AM_INIT_AUTOMAKE(your_program_name,version)
之后,把configure.scan改为configure.in
3.aclocal
4.autoconf
5.创建Makefile.am文件
AUTOMAKE_OPTIONS= foreign
bin_PROGRAMS= your_program_name
your_program_name_SOURCES= your_program_name.c......(要依赖的文件都加进去)
6.automake --add-missing
7../configure
阅读(1389) | 评论(0) | 转发(0) |