bug fixes: [root] can contain / at end now; does not generate branch.mk for directories without .c and .cpp files any more