* Steven Bosscher wrote on Tue, May 25, 2010 at 04:23:35PM CEST: > On Tue, May 25, 2010 at 11:13 AM, Andreas Schwab wrote: > > Target-specific variable values are applied to all dependencies, see > > (make) Target-specific: [...] > That is the problem here. TM_H depends on insn-constants.h, which > depends on genconstants: [...] > > Lots of files validly depend on TM_H (directly, or via target.h).
What's more, the order-only prerequisite $(ALL_HOST_OBJS) : | $(generated_files) may (eventually) bite you, too. This GNU make semantic does not seem very intuitive. > So I guess this plan of mine is not going to work... > Other ideas? Well, you could override the overridden variable for the dependencies yet again. Cheers, Ralf