The best option to use when you have a collection of object files that need to be linked to a program and executed at the time of compilation is a static library.
Static libraries allow you to link a collection of object files into your program at compile time, resulting in a single executable file that includes all the necessary code.