我使用Makefiles。
我有一个run运行该构建目标的目标。简化后,它看起来如下所示:
prog: ....
...
run: prog
./prog
坐下来 我知道这很巧妙,但不需要站着鼓掌。
现在,我的问题是-有什么方法可以传递参数?以便
make run asdf --> ./prog asdf
make run the dog kicked the cat --> ./prog the dog kicked the cat
谢谢!
开心每一天1111
哔哔one
千巷猫影
随时随地看视频慕课网APP