Tried (and failed) to add a shared library target.

I understand how they work, and the concepts behnd them, but I can never
get them to actually work!

Makefile is a little more modular, now.