The ar command performs operations on libraries of object files that are used during linking. You might use this command to create a library of support routines that can be linked into many different programs, as follows:
ar -q ~/mylibs/graphics.a raytrace.o shade.o illuminate.o xlf95 spheres.f -L~/mylibs/ -lgraphics