Added SHAREDPATH to clean in Makefiles

The *.o and *~ files in the SHAREDPATH directory were not removed when 'make clean' was executed.