When you build fail, does it give you some errors messages.
I didn't found any problem with this matters:
Add a .h file, define some functions here.
Add a .c file with the same name with the .h and code those functions here, don't forget to include this .h file.
From now on, in any .c file, you can just include this .h file and use these functions. They will be linked together when you build them.
|