make dependency for the sub project