How can I build a standalone static library (.a) for a firmware module and link that static library in the main project (without providing access to header files in that module) ?
I know about ar command but that is just compiling the .c files, when I try to use the functions in one of the .c files of the firmware module it shows me implicit function deceleration warning. I do not want to export the .h files but rather just provide a libexample.a package to the developer to use the firmware module.
Will the pre-compiled header work in this scenario?