makefile and scan file delete