I want to make rules like the following

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


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

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

for example

A:= ad/ad bd/bd cd/cd

$(A): %/%: %/a

but this doesn't work how I would expect either

Jim


-- 
Dr. Jim McElwaine   Work: 01223 337858 Home: 01223 710497
H0.15, Department of Applied Maths and Theoretical Physics
Centre for Mathematical Sciences,     Cambridge University  
Wilberforce Road, Cambridge, CB3 0WA  
email: [EMAIL PROTECTED] 
http://www.damtp.cam.ac.uk/user/jnm11/


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

Reply via email to