On Thu, 2008-02-14 at 17:37 +0000, Mark McLoughlin wrote: > On Thu, 2008-02-14 at 17:01 +0000, Ian Campbell wrote: > With this, AFLAGS would apply to building when building the > prerequisites of header.o too, which you don't want > > The make manual says: > > "when you define a target-specific variable that variable value is > also in effect for all prerequisites of this target, and all their > prerequisites" Ah yes, quite right. I think given that subtleties of these kinds of variable definitions it's probably clearer to stick with the header file way of doing things. it's nice and straight forward. Ian. -- Ian Campbell Davis' Law of Traffic Density: The density of rush-hour traffic is directly proportional to 1.5 times the amount of extra time you allow to arrive on time. _______________________________________________ Virtualization mailing list Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/virtualization