Is there a tool available which will take a set of source files and map (in graphic fashion) how they are linked via #include?
I would like to see where there are any circular references.
Is there a tool available which will take a set of source files and map (in graphic fashion) how they are linked via #include?
I would like to see where there are any circular references.
gcc(1) can produce dependency files. They are intended to be used by make(1), but they are relatively easy to parse. Use 'gcc -M -MF file' or 'gcc -MM -MF file'.