Just copy spammodule.o into a directory along the Python module search path.
If your extension modules uses additional system libraries, you must create a file spammodule.libs in the same directory as the spammodule.o. This file should contain one or more lines with whitespace-separated absolute pathnames of libraries (.a files). No -l options can be used.