Link to home
Start Free TrialLog in
Avatar of arunm
arunm

asked on

makedepend for c++

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.
Avatar of IainHere
IainHere

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
ASKER CERTIFIED SOLUTION
Avatar of IainHere
IainHere

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of arunm

ASKER

Interesting, but I would prefer, if possible, a C++ version of makedepend.
Avatar of arunm

ASKER

Interesting, but I would prefer, if possible, a C++ version of makedepend.
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
Avatar of arunm

ASKER

I have adapted makedep to do what I want.