🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.next.programmer
1 messages
1 total messages Started by Benoit Grange Sun, 10 Jan 1993 14:46
Strange things in make depend
#2283
Author: Benoit Grange
Date: Sun, 10 Jan 1993 14:46
23 lines
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)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads