Makefile pattern rule where target is constrained to be in a list of variables?

前端 未结 0 816
隐瞒了意图╮
隐瞒了意图╮ 2021-02-07 02:31

I have the following problem. I wanna launch make like this: make main1, or make main2, or make all, and I would like to translate it to make ./test/main1, make ./test/main2 etc

相关标签:
回答
  • 消灭零回复
提交回复
热议问题