如何高效地寻找 Makefile 的默认目标?

 两个方法:

1. 使用 make -d 去追 'Updating goal targets', 2. 看 .DEFAULT_GOAL, .DEFAULT, 以及 default: all 等等

答案来源:https://stackoverflow.com/questions/50136547/how-to-discover-default-target-in-make

posted @ 2022-08-31 14:08  yinhuachen  阅读(131)  评论(0编辑  收藏  举报