Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Find include files's paths

by indigo (Scribe)
on Apr 27, 2001 at 03:16 UTC ( #75962=note: print w/replies, xml ) Need Help??

in reply to Find include files's paths

Try makedepend.

It isn't Perl, but it is a semi-standard Unix utility, has been ported all over the place, and solves exactly this problem. You'll have to create a makefile, but since you're doing C/C++, there is a good chance you already have one.

If you use the -f option, you'll get a nice delimited file Perl would be more than happy to munge for you.

Replies are listed 'Best First'.
Re: Re: Find include files's paths
by hthuan (Initiate) on May 02, 2001 at 23:33 UTC
    I need to these include paths to auto create makefiles. So your suggestion will not work. Thanks though. Thuan

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://75962]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2020-10-20 15:42 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (210 votes). Check out past polls.