问题描述
我正在尝试向现有的makefile项目中添加一些功能.我写了一些.c和.h文件.经过一段时间的搜寻后,我发现应该修改Makefile.am并运行autoreconf来完成我需要的工作.
I am trying to add some functionality to existing makefile project. I wrote some .c and .h files. After some googling time I found that Makefile.am should be modified and run autoreconf will do what I need.
有人可以解释一下如何做到这一点吗?
Can some one please explain how to do this exactly?
谢谢.供参考我正在尝试编译 http://sipe.sourceforge.net/
Thank you.FYII am trying to compile http://sipe.sourceforge.net/
推荐答案
您需要修改在保存.c和.h文件的目录下找到的Makefile.am.看看此文件如果您的.c文件位于telepathy目录下,则将.c文件添加到此Makefile.am中.希望这会有所帮助!
You need to modify the Makefile.am found under the directory where you've kept you .c and .h files. Take a look at this file if you've .c file under telepathy directory, add your .c file in this Makefile.am. Hope this will help!
这篇关于如何向现有的makefile项目中添加新文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!