天天看點

No rule to make target `-', needed by `all'. Stop.

No rule to make target `-', needed by `all'. Stop.
No rule to make target `-', needed by `all'. Stop.
No rule to make target `-', needed by `all'. Stop.

在編譯touchlink的時候,隻因為備份了一個touchlink.c為touchlink - 副本.c,導緻出現編譯提示

make[4]: *** No rule to make target `-', needed by `all'.  Stop.

的錯誤。

 解決辦法:删除touchlink - 副本.c這個檔案名中的空格(這個空格會讓後面的那部分當成一個編譯的target)

重新編譯即可。

繼續閱讀