how to add a new files to existing makefile projec

2019-09-10 08:07发布

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条回答
Root(大扎)
2楼-- · 2019-09-10 08:51

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!

查看更多
登录 后发表回答