Generate multiple target using single action/rule

前端 未结 1 1057
南笙
南笙 2021-02-07 00:40

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 e

相关标签:
1条回答
  • 2021-02-07 01:25

    You could implement one of the solutions specified in the automake manual.

    Because you've tagged this gnumake, I should also point out that using a GNU make pattern rule (the ones with %) with multiple targets WILL consider both generated from one execution of the rule: see the GNU make manual.

    0 讨论(0)
提交回复
热议问题