Xref: utzoo comp.lang.c++:10622 comp.unix.programmer:600 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cunixf.cc.columbia.edu!tim From: tim@cs.columbia.edu (Timothy Jones) Newsgroups: comp.lang.c++,comp.unix.programmer Subject: Re: makedepend for C++? Message-ID: Date: 30 Nov 90 16:17:37 GMT References: Sender: tim@cunixf.cc.columbia.edu (Timothy Jones) Reply-To: tim@cs.columbia.edu Distribution: comp Organization: Columbia University Department of Computer Science Lines: 19 In-Reply-To: cimshop!davidm@uunet.UU.NET's message of 28 Nov 90 20:07:10 GMT Timothy> Does anyone know if there's a version of makedepend(1) for UNIX that Timothy> knows how to deal with C++? Why won't the one that deals with C work (its just a search for #include in both cases, isn't it)? Specifically, I'm using g++, and the problem is that I get lots of 'unknown directive == "#elif defined..."' error messages, presumably caused by included files within my source file. Perhaps I just have an old version of makedepend which doesn't understand "elif" for some reason. Running g++ -M does the trick, but I can't use it to parse other source language files, like lex or yacc. I guess I can use the regular makedepend for that and combine the results of the two programs (sigh)... Tim