Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 GNU autotools 设置软件包,并希望收到一条消息“构建成功!” 在用户运行 make 后(配置后)输出。我将如何实现这样的功能?谢谢
没有干净的方法可以做到这一点。您可以将打印输出添加到顶级 make 目标:
all: $(MAKE) ... && echo "Build succeeded"