We help IT Professionals succeed at work.

makedepend for c++

arunm
arunm asked
on
I am trying to generate a file dependency list for a cross-platform C++ project on NT.  In the past I have used GNU's makedepend. Unfortunately, the version I have only works with C not C++ files. Does anyone know were I can get a C++ version of makedepend or something else which I can use to generate a dependencies.
Comment
Watch Question

Commented:
Here's a link to makedep.  Does exactly what it says on the tin : )

http://sourceforge.net/softwaremap/trove_list.php?form_cat=165&discrim=52

Author

Commented:
Interesting, but I would prefer, if possible, a C++ version of makedepend.

Author

Commented:
Interesting, but I would prefer, if possible, a C++ version of makedepend.

Commented:
I think the use of that program mimics the use of makedepend, so they should be interchangable.  There isn't a GNU version of makedepend - it comes with X, however, there are command line options -MD and -MMD for gcc which might be of use.

http://gcc.gnu.org/onlinedocs/gcc-3.0.1/gcc_3.html#SEC14

Author

Commented:
I have adapted makedep to do what I want.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.