I use Makefiles.
I have a target called run
which runs the build target. Simplified, it looks like the following:
prog: ....
...
run: prog
./prog
Is there any way to pass arguments? So that
make run asdf --> ./prog asdf
make run the dog kicked the cat --> ./prog the dog kicked the cat
Thanks!
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…