Try to fix infinite loop in "make depends"

svn path=/trunk/; revision=28574
This commit is contained in:
Hervé Poussineau 2007-08-26 12:52:14 +00:00
parent dec7775361
commit 149ea4f5f4

View file

@ -624,6 +624,6 @@ makefile_auto_clean:
clean: makefile_auto_clean
.PHONY: depends
depends:
@-$(rm) $(ROS_AUTOMAKE)
@$(MAKE) $(filter-out depends, $(MAKECMDGOALS))
depends: $(RBUILD_TARGET)
$(ECHO_RBUILD)
$(Q)$(RBUILD_TARGET) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) mingw