xlf95 file1.f file2.o file3.f
Then
all object files are submitted to the linker to produce one executable
file. After linking, follow the instructions in Running XL Fortran programs to execute the program.
To link a library, follow the instructions in Compiling and linking a library.