目标仍然存在,尽管它存在

时间:2018-03-02 16:48:38

标签: makefile

我有一个需要很长时间才能运行的进程,所以我使用Make来管理它,所以如果已经完成它就不必运行。

compile:
        sleep 600 && touch $@
present: compile
        cat compile

当我make present时,它会进行编译并呈现,如果我再次执行它,它会再次执行。我想要的行为是它只存在

使用GNUMake 3.82

`

0 个答案:

没有答案
相关问题