Add support of dependencies between targets