Hi,
create New S32DS Library project for target MCU, add library source code into project and compile it - the very same procedure as an executable project, but the output is library archive:
jiri_kral_0-1638952967138.png
To be honest, I never try to link .lib file, but technically it should be okay.
Anyway - what is your goal?
Jiri