Open bayanpeng opened 3 years ago
中文:make -Ibuild
后,文件夹bin/
里边就有主程序main
了,直接在命令行运行该程序就可以了./main
。
另一种方法就是修改makefile,在36行LINK_TARGET := main
后添加一行TARGET := /bin/main
,这样就可以了,其实run
的功能就是执行./main
。
English: After make -Ibuild
, there is the main program main
in the folder bin/
, just run the program directly on the command line ./main
.
Another way is to modify the makefile, add a line of TARGET := /bin/main
after line 36 of LINK_TARGET := main
, so that's it, in fact, the function of run
is to execute ./main
.
我这两种方法都试过了,怎么还是不行呢?大佬,咱们两个是校友,我可不可以去找您问一下呢?就差最后一步了呢,谢谢大神的回答
Please help me! There is an error that "makefile:99: recipe for target 'run' failed make[1]: *** [run] 已杀死" when I execute the command "make -Ibuild run", but I don.t know why