Hi,

I need help on writing dependency rules on the following problem.

a_1 : a
        echo "a 1"
b_1 : b
        echo "b 1"
c_1 : c
        echo "c 1"
a_2 : a
        echo "a 2"
b_2 : a
        echo "b 2"
c_2 : a
        echo "c 2"


I don't know how to write a single rule for all of them. What I can do
is:

LIST = a b c

${LIST} : %_1 : %
        echo "$* 1"
${LIST} : %_2 : %
        echo "$* 2"

Is there any way to put them together?  There are also "d,e,f .." and
"3, 4, 5 ..." in my real situation.

Thank you all very much.

Thomas

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

Reply via email to