Article View: comp.sys.next.programmer
Article #2283Strange things in make depend
From: Benoit Grange
Date: Sun, 10 Jan 1993 14:46
Date: Sun, 10 Jan 1993 14:46
23 lines
1334 bytes
1334 bytes
If you issue a make depend command in a project, the file
Makefile.dependencies contains references of *ALL* the appkit headers for
each object file. This produces HUGES dependencies list (more than 100Kb),
slowing down the make process.
To build the dependencies make depends issues 'cc -MM <all sources> |
awk...' and the cc manual says
-MM Like -M but the output mentions only the user-header
files included with #include "file". System header
files included with #include <file> are omitted.
So why are all imported <appkit/xxx.h> listed ? Is that because of #import
instead of #include ? I don't care having dependencies with them.
I currently use a sed script to remove all this stuff. My makes are now
going somewhat faster. The first command issued appears after one second
instead of something like 5 or more seconds.
--
----
Benoit Grange - PARIS - FRANCE
Mail to : ben@fizz.fdn.org (SMALL NeXTMails accepted, < 10kb)
Technical Details
Message-ID:
<1993Jan10.144622.1447@fizz.fdn.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!arakis.fdn.org!gamb.fdn.org!fizz!benShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs Path: arc1-ca.pugleaf.net!sparky!uunet!arakis.fdn.org!gamb.fdn.org!fizz!ben From: ben@fizz.fdn.org (Benoit Grange) Subject: Strange things in make depend Message-ID: <1993Jan10.144622.1447@fizz.fdn.org> Sender: ben@fizz.fdn.org (Benoit Grange) Date: Sun, 10 Jan 1993 14:46:22 GMT Lines: 23