【发布时间】:2013-03-08 04:04:08
【问题描述】:
在我的 Makfile 中,我有以下内容,
smktestrun: smktest
@../projects/test.sh
我称之为:
Make smktestrun
但有时我需要与此文件 (test.sh) 一起传递参数/参数
所以基本上我想:
test.sh -abc
但是,如果我只是在 Makefile 本身中传递参数,则该参数不会被视为简单地执行了 sheel 脚本。
那么有没有一种方法可以在 Makefile 中指定需要与该文件一起传递的参数?
谢谢。
【问题讨论】:
标签: shell makefile command-line-arguments