On Mon, Nov 29, 2004 at 03:36:52PM -0600, Eric Sandeen wrote: > if I have something like: > > quiet_cmd_systune = SYSTUNE $< > cmd_systune = $(dir $<)/gen_systune.pl \ > $< \ > $(obj)/$(*F)_systunes.c \ > $(obj)/$(*F)_systunes.h \ > $(*F)_systunes > > %_systunes.c %_systunes.h: %_systunes.data $(src)/gen_systune.pl FORCE > $(call if_changed,systune) > > I get my nice pretty-printed output for V=0. Always test with V=1 also!
> > but the instructions for if_changed say that the targets must be listed > in $(targets) or the target will always be built... can if_changed work > together with an implicit rule? Yes, you just use: targets += $(wildcard %_systunes.c %_systunes.h) Sam ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel