catkin_make --only-pkg-with-deps <target_package> # Dont forget to reset the whitelist once you are done catkin_make -DCATKIN_WHITELIST_PACKAGES=""