Remove generated files and update Makefile