fix Makefile not to make dependency files when there are no rules to make the targets