help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

creating dependencies with gcc


From: cppaddict
Subject: creating dependencies with gcc
Date: Fri, 16 Jul 2004 10:10:31 GMT

When creating Makefiles, it's common to use 

gcc -M <filenames>

to produce the dependency files that will be included in your
Makefile.  Unfortunately, the output includes ALL dependencies, even
dependencies on stable system files, which need not be included.

Is there a way to tell gcc not to include those stable system
dependencies?

Is there a better alternative to gcc for creating dependency files?

Thanks for any thoughts,
cpp


reply via email to

[Prev in Thread] Current Thread [Next in Thread]