Usage: cd /the/top/of/your/source/code ruby /the/path/of/dep_tree.rb /path/of/your/c/files Example: ruby ../dep_tree.rb -i xxx/my_work.c