views:

26

answers:

0

How do I write a rule to generate set of files using a single action.

Example: Files x, y, z are generated as a result of single execution of script t.sh which takes file a as input.

x y z: a
    t.sh $@

GNU make tries to execute t.sh 3 times.