[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help needed on writing rules
From: |
Thomas Chen |
Subject: |
Help needed on writing rules |
Date: |
Mon, 12 Feb 2001 11:04:46 -0500 |
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 needed on writing rules,
Thomas Chen <=