Article View: comp.unix.programmer
Article #3827Re: makedepend problem
From: Dale Mensch
Date: Mon, 15 Jan 1996 00:00
Date: Mon, 15 Jan 1996 00:00
24 lines
1802 bytes
1802 bytes
Michael> The makedepend I am using does not work correctly. It Michael> doesn't get all of the dependencies. I have not examined Michael> the problem in detail, but it might be that it does not know Michael> how to deal with #if defined, -D, or include in Makefile. Michael> If anyone knows where I could get a better version, I would Michael> appreciate a note. Thanks. -- I wrote a Perl script to do this. It may be overkillish if you're using gcc, but not all compilers have the equivalent of gcc -M. It runs C or C++ through the preprocessor to handle the -D and #ifs, then does a bunch of greppish stuff to grab out all the included header files. The script is still lurking around in /anonymous@ftp.uu.net:/published/unix-world/grabbag/1994/may94.Z Email me if it's unclear how to use it. -- --- Dale Mensch -- contracting with Euler Solutions at Automated Wagering dale::opinion && (euler::opinion || AWI::opinion) == NULL GCS d- s+:+ a+ C++ U++$ P+++$ L+++ E++ W+ N++ !K w+ !O !M !V PS+ PE- Y PGP- t+ 5 X+ !R tv-- b++ DI++++ D++ G e++ h---- r+++ y++++ Mpls, MN -- dalem@arh.com (w), dmensch@maroon.tc.umn.edu (h)
Technical Details
Message-ID:
<tobuo52zpa.fsf@zipper.arh.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<mdbergerDL31G7.G9J@netcom.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,4e6eedb2c941819c X-Google-Attributes: gidfc89c,public X-Google-Thread: f6653,4e6eedb2c941819c X-Google-Attributes: gidf6653,public X-Google-Thread: 1025b4,4e6eedb2c941819c X-Google-Attributes: gid1025b4,public From: dalem@arh.com (Dale Mensch) Subject: Re: makedepend problem Date: 1996/01/15 Message-ID: <tobuo52zpa.fsf@zipper.arh.com> X-Deja-AN: 135267656 sender: dalem@zipper.arh.com references: <mdbergerDL31G7.G9J@netcom.com> organization: UNIX Contractor at Automated Wagering Intl. newsgroups: comp.unix.programmer,gnu.misc.discuss,comp.sys.sun.misc