%% Jim McElwaine <[EMAIL PROTECTED]> writes:

  jm> I want to make rules like the following

  jm> $(A): %: $(dir %)/a

  jm> where I operate with string functions on % to generate the
  jm> dependencies but these do not seem to be evaluated Is there are
  jm> any solution to this without generating an intermediate file?

The only ways are with an intermediate file, or using $(eval ...)

  jm> The info files say intriguingly that normaly only on "%" is used
  jm> in a patterm mathcing rule but they don't explain how to use more
  jm> than one, which would actually work for me.

You can't use more than one.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


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

Reply via email to