make: *** No rule to make target 'test1.o', needed by 'test2'. Stop。

make的時候出現以下錯誤:make: *** No rule to make target ‘test1.o’, needed by ‘test2’. Stop。

解決辦法:最常見的可能是沒有正確書寫test1.o對應的源文件的路徑。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章