How to add a c file to be compiled with a package

Posted by Ahmed on Ask Ubuntu See other posts from Ask Ubuntu or by Ahmed
Published on 2012-09-20T09:27:58Z Indexed on 2012/09/20 9:51 UTC
Read the original article Hit count: 691

Filed under:
|
|
|
|

I want to add a file hstest.c which comes with bluez package but not by default added to the makefile to the sources that are compiled with the buid system.

I read about makefiles and autotools but now I am hesitant to make changes to the makefiles. Should I modify the makefile.am and then run automake or just change the makefile.in or the makefile itself ? and how ?

config script

Makefile.am

Makefile

Makefile.in

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about packages