ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Let me see if I understand what you're asking: Why does ROS remake unchanged code when you perform two rosmakes in sequence?

The short answer-- it just does. rosmake acts the same as make, with some extras. It cycles through all your package's dependencies (and the package itself) to check if anything has changed.

'rosmake -s' will only build the package you specify, and not its dependencies. 'rosmake --pre-clean' will clean the specified package and all its dependencies before remaking all of them. 'rosmake -s --pre-clean' will clean and remake only the specified package.