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.
我在make check设置时运行了一个测试脚本,如下所示:
make check
TESTS = test.py
但test.py取决于正在构建的另一个文件。如何指定对 automake 的依赖?
test.py
使用简单的make依赖:
TESTS = test.py test.py: that_other_file that_other_file: echo Hi > $@ # remember to use a TAB before the action as usual