Automake测试脚本依赖项

时间:2013-06-14 13:15:39

标签: automake

我在make check上设置了一个测试脚本,如下所示:

TESTS = test.py

但是test.py依赖于正在构建的另一个文件。如何指定对automake的依赖?

1 个答案:

答案 0 :(得分:2)

使用普通的 make 依赖关系:

TESTS = test.py
test.py: that_other_file

that_other_file:
        echo Hi > $@     # remember to use a TAB before the action as usual
相关问题