> +$(YNL_INDEX): $(YNL_RST_FILES) $(YNL_TOOL) > + $(Q)$(YNL_TOOL) -o $@ -x Isn't $(YNL_INDEX) depending to $(YNL_TOOL) indirectly since it depends on $(YNL_RST_FILES) ? I mean, do you really need the line above? > +$(YNL_RST_DIR)/%.rst: $(YNL_YAML_DIR)/%.yaml $(YNL_TOOL) > + $(Q)$(YNL_TOOL) -i $< -o $@