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)

重新编译即可。

相关文章: