home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.next.programmer:8058 comp.sys.next.bugs:40
- Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs
- Path: 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
-
- 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)
-