Only generate .deps file if there are files for it.