Question: iar how to make a library?
Answer: Bring up the Options for the library project.
Under the "General Options" selection, choose the "Output" tab.
Within the "Output" tab you will find an "Output file" selection that can be either Executable or Library.
For the library project, choose library.