remove unnecessary files and update Makefile