Makefile常见错误解析 - make: *** No rule to make target 'test1.o', needed by 'test2'. Stop

来源:互联网 发布:手机pdf阅读软件 编辑:程序博客网 时间:2024/06/06 02:10
 

Makefile常见错误解析 - make: *** No rule to make target 'test1.o', needed by 'test2'. Stop

最常见的可能是没有正确书写test1.o对应的源文件的路径。

或者没有写对需要编译的文件---比如把test1.o写成test1 .o
原创粉丝点击