how to add a new files to existing makefile project

瘦欲@ 提交于 2020-01-07 02:55:27

问题


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?

Thank you. FYI I am trying to compile http://sipe.sourceforge.net/


回答1:


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!



来源:https://stackoverflow.com/questions/18201903/how-to-add-a-new-files-to-existing-makefile-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!