How to build the LittlevGL into .so file in the Linux?

I want to build the LittlevGL into .so file format in the Linux , but I don’t known how to start this work, anyone can give me some advise?
Thank your

First of all, if you don’t know how to build a .so file, you can check this link out:

Then you should compile all of the LittlevGL source files in the same manner (Step 1). Obviously, you’ll want to compile all the object files and then put them all into a single library (Step 2), not multiple.

Keep in mind that header files are not included in shared libraries so you’ll need a copy of those available as well to actually build an application.

Out of curiosity, what use case are you planning where building LittlevGL as a shared library is necessary?

Thank you for your great help, I accomplish this work with your help.
In our team,There are two developer who dream for .so very mush, so I need to build the .so for them.