Update Makefile for library generation.
Delete executable files in clean.