avatar
question about Makefile# Unix - 噫吁兮,危乎高哉
g*y
1
I want to test if a directory exists. If no, will create it.
How can I do it in Makefile?
Thanks.
avatar
D*e
2
it cant be done by makefile, you have to write scripts
and call the scripts from your makefile.

【在 g***y 的大作中提到】
: I want to test if a directory exists. If no, will create it.
: How can I do it in Makefile?
: Thanks.

avatar
p*g
3
I think at least GNU make supports [ -d dir ] || mkdir dir
as command

【在 D**e 的大作中提到】
: it cant be done by makefile, you have to write scripts
: and call the scripts from your makefile.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。