Recursive #includes
    Willy Konijnenberg 
    willy at idca.tds.PHILIPS.nl
       
    Wed Mar  1 00:40:40 AEST 1989
    
    
  
In article <2533 at goofy.megatest.UUCP> djones at megatest.UUCP (Dave Jones) writes:
>From article <964 at philmds.UUCP>, by leo at 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		<willy at idca.tds.philips.nl>
    
    
More information about the Comp.lang.c
mailing list