Hi,

I have a generic command line like:

%process/gen.out : $(addprefix %, $(wildcard cmd/*.tcl))
        commands...

say I have a dir structure like:
  aa/cmd/run.tcl run1.tcl
  bb/cmd/run.tcl run1.tcl

Now the make runs like I would expect.

When I have however something like:
  aa/cmd/run.tcl run1.tcl
  bb/cmd/run.tcl run1.tcl run2.tcl

Now somehow run2.tcl is not taken into account.

So I wonder is the wildcard command only run once?
This would explain the behaviour I see.
The wildcard is performed only once on aa/cmd/*.tcl (the first in line)  so
only run.tcl and run1.tcl are "seen"..

What I would achieve is to have the wildcard command done for each value of %.
So for each value of % the dependency could be different.
Does someone know how I can do that?

Thanks,

Hans Peter.


_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to