Same object files for both static and dynamic library
I’ve a project where I’m building object files without-fPIC for static library libx.a and with -fPIC for dynamic library libx.so .Now I’ve to compile both source files cpp or c twice and there are 1000s of them.