Search code examples
cmakefileconfigureautoconfpidgin

how to add a new files to existing makefile project


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/


Solution

  • 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!