Path: utzoo!attcan!uunet!mcvax!hp4nl!philapd!ssp11!willy From: willy@idca.tds.PHILIPS.nl (Willy Konijnenberg) Newsgroups: comp.lang.c Subject: Re: Recursive #includes Message-ID: <200@ssp11.idca.tds.philips.nl> Date: 28 Feb 89 14:40:40 GMT References: <964@philmds.UUCP> <2533@goofy.megatest.UUCP> Organization: Philips Telecommunication and Data Systems, The Netherlands Lines: 20 In article <2533@goofy.megatest.UUCP> djones@megatest.UUCP (Dave Jones) writes: >From article <964@philmds.UUCP>, by leo@philmds.UUCP (Leo de Wit): >> ... it is never correct to declare make dependencies >> between source files ... > >y.tab.c: gram.y > > :-) Dave Tough luck, y.tab.c is not your source. It is actually generated from gram.y, as opposed to prog.c: incl.h where prog.c is not generated from incl.h, hence an out-of-date prog.c will remain out-of-date and force another recompilation next time around, etc. Ok, ok, I saw the :-) :-) -- Willy Konijnenberg