Another way to organize source code used by several projects is to build a static library (for Windows* OS, .lib and for Linux* OS and Mac OS* X, .a) containing the object files for the reused procedures. You can create a static library by doing the following:
From the Microsoft Visual Studio* integrated development environment (IDE), create and build a Fortran Static Library project type.
From the command line, use the ar command (on Linux OS and Mac OS X) or the LIB command (on Windows OS).
After you have created a static library, you can use it as input to other types of Intel Fortran projects.