home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / next / programm / 8058 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.3 KB

  1. Xref: sparky comp.sys.next.programmer:8058 comp.sys.next.bugs:40
  2. Newsgroups: comp.sys.next.programmer,comp.sys.next.bugs
  3. Path: sparky!uunet!arakis.fdn.org!gamb.fdn.org!fizz!ben
  4. From: ben@fizz.fdn.org (Benoit Grange)
  5. Subject: Strange things in make depend
  6. Message-ID: <1993Jan10.144622.1447@fizz.fdn.org>
  7. Sender: ben@fizz.fdn.org (Benoit Grange)
  8. Date: Sun, 10 Jan 1993 14:46:22 GMT
  9. Lines: 23
  10.  
  11. If you issue a make depend command in a project, the file  
  12. Makefile.dependencies contains references of *ALL* the appkit headers for  
  13. each object file. This produces HUGES dependencies list (more than 100Kb),  
  14. slowing down the make process.
  15.  
  16. To build the dependencies make depends issues 'cc -MM <all sources> |  
  17. awk...' and the cc manual says
  18.  
  19.      -MM  Like -M but the output mentions only the user-header
  20.           files included with #include "file".  System header
  21.           files included with #include <file> are omitted.
  22.  
  23. So why are all imported <appkit/xxx.h> listed ? Is that because of #import  
  24. instead of #include ? I don't care having dependencies with them.
  25.  
  26. I currently use a sed script to remove all this stuff. My makes are now  
  27. going somewhat faster. The first command issued appears after one second  
  28. instead of something like 5 or more seconds.
  29. -- 
  30. ----
  31. Benoit Grange - PARIS - FRANCE
  32.  
  33. Mail to : ben@fizz.fdn.org (SMALL NeXTMails accepted, < 10kb)
  34.