Create a single library file for each target

This makes linking far simpler as the user only needs to link to a single file and the linker will choose which objects to pick from it.