make: depends move/rm file fix & optimization