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.

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?

Thanks,

-Eric


-------------------------------------------------------
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

Reply via email to