LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: tingxx

学用automake 生成Makefile失败了:(

[复制链接]
发表于 2005-12-30 14:41:28 | 显示全部楼层
All steps that you mentioned need not change or edit a little?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-30 16:36:37 | 显示全部楼层
只是Makefile.am里面要 上多个文件吧
比如 bin_PROGRAMS=hello
hello_SOURCES=hello.c hello2.c hello2.h
回复 支持 反对

使用道具 举报

发表于 2005-12-31 10:17:21 | 显示全部楼层
Thanks very much.
Presently, There are  three files in /usr/home/test:main.cpp wizard.cpp wizard.h,I do not know how to edit "configure.in" file:
...
AC_INIT(?)               //which file be in here and what does it meaning ?
AM_INIT_AUTOMAKE(?,1.0)  //same as above
I give any response greatly appreciate
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-31 11:09:46 | 显示全部楼层
AC_INIT(xx)里面填的应该是整个程序main函数所在的文件
AM_INIT_AUTOMAKE(软件名,版本)这应该是用于发布用的

我也是初学,如有说错的,希望大虾们指点
回复 支持 反对

使用道具 举报

发表于 2005-12-31 16:49:58 | 显示全部楼层
AC_INIT([target],[version],[maintainer]),AM_INIT_AUTOMAKE 不加参数。

这些内容在 info autoconf 和 info automake 里面都有详细说明。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表