Path: utzoo!attcan!uunet!lll-winken!ames!haven!purdue!decwrl!hplabs!hpda!hpcuhb!hp-ses!hpcea!hpausla!jcl From: jcl@hpausla.HP.COM (Jeff Laing) Newsgroups: comp.sys.mac.programmer Subject: Re: Make question (was MPW vs Lightspeed) Message-ID: <2580012@hpausla.HP.COM> Date: 26 Jan 89 22:20:40 GMT References: <7260@csli.STANFORD.EDU> Organization: HP Australian Software Operation Lines: 20 Nathan Wilson (wilson@csli.STANFORD.EDU) writes in comp.sys.mac.programmer: > A second question: Is it ever necessary to compile a file > that only depends on files that haven't changed? That is A depends > on B. B depends on C. I change C. A does not depend on C. Do I > need to recompile A? Maybe. Consider the following (nonsensical but not unreasonable, or unlikely) /* a.c */ #include "b.h" static myBuff[BUFSIZ]; /* b.h */ #include "c.h" #define BUFSIZ SYSBUFSIZ-4 /* c.h */ #define SYSBUFIZ 200 Change the definition in C and the effect ripples right up to A.