ar - the name of the librarian
cr - specifies that the library is to be created
libfoo.a - the name of the library you want to create. In Unix convention, 'lib' and '.a' are assumed, so the only part you get to choose the name of is 'foo'
lib1.o... - the names of all the object files you want to add to the library