Hello,

On Sun, May 25, 2008 at 07:49:51PM -0700, Bobby Dill wrote:
> %.cpp: %.png
>         uic -embed colortool $? -o $@
> 
> image_collection.cpp: images/designer_widgetstack.png \
>         images/designer_d_table.png \
>         images/designer_d_iconview.png

well, this is more aquestion about make itself, not automake.

The second rule is a rule without any command and it's presence means
the pattern rule is not used.

The pattern rule expresses that the cpp file is to be created from
.png file with the same base file name.  This does not seem to be
what you meant.

The following might be a solution:

image_collection.cpp: images/designer_widgetstack.png \
          images/designer_d_table.png \
          images/designer_d_iconview.png
        uic -embed colortool $? -o $@

(The last line has to start with <TAB>.)

HTH,
        Stepan


Reply via email to