Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dependency tool

0 views
Skip to first unread message

john prokopek

unread,
Aug 23, 2001, 9:19:50 PM8/23/01
to
are there any dependency tools available for g++
that generate information for makefiles?

thanks for the help


--
John D. Prokopek
jpro...@snet.net

Robert Clark

unread,
Aug 24, 2001, 3:10:03 AM8/24/01
to
In article <3B85ABB6...@snet.net>, "john prokopek" <jp...@snet.net>
wrote:

> are there any dependency tools available for g++ that generate
> information for makefiles?

One of the best dependency tools for g++ is ..... g++

% g++ -v --help

[snip]

-M Generate make dependencies
-MM As -M, but ignore system header files
-MD As -M, but put output in a .d file
-MMD As -MD, but ignore system header files
-MG Treat missing header file as generated files

- Rob

Laurent Deniau

unread,
Aug 24, 2001, 6:52:23 AM8/24/01
to
john prokopek wrote:
>
> are there any dependency tools available for g++
> that generate information for makefiles?

see option -M and variant (gcc,g++,cpp).

> thanks for the help
>
> --
> John D. Prokopek
> jpro...@snet.net

--
[ Laurent Deniau -- Scientific Computing & Data Analysis ]
[ CERN -- The European Laboratory for Particle Physics ]
[ Laurent...@cern.ch - http://home.cern.ch/ldeniau ]
[ -- One becomes old when dreams become regrets -- ]

john prokopek

unread,
Aug 24, 2001, 1:11:03 PM8/24/01
to
thanks , -M was just what I needed

cheers

0 new messages