The rules for the target name of the library
are similar to those for programs:
if you don't explicitly specify a target library name,
SCons will deduce one from the
name of the first source file specified,
and SCons will add an appropriate
file prefix and suffix if you leave them off.

The previous example shows building a library from a
list of source files.
You can, however, also give the Library call
object files,
and it will correctly realize
In fact, you can arbitrarily mix source code files
and object files in the source list:

Library('foo', ['f1.c', 'f2.o', 'f3.c', 'f4.o'])

And SCons realizes that only the source code files
must be compiled into object files
before creating the final library:

Of course, in this example, the object files
must already exist for the build to succeed.
See Chapter 5, below,
for information about how you can
build object files explicitly
and include the built files in a library.