Improved @linkobjects.lst support

Fixed a few issues with the original implementation:
 * echo $(OBJECTS) would hit the 32k character limit 
 * only static libs were supported
 * linkobjects.lst was only cleaned when .ec files were present