“multiple target patterns” Makefile error

后端 未结 6 1813
有刺的猬
有刺的猬 2020-11-27 15:07

My makefile fails with error:

Makefile:34: *** multiple target patterns.  Stop.

What does it really mean, how can I fix this?

(GNU

6条回答
  •  孤独总比滥情好
    2020-11-27 15:43

    I met with the same error. After struggling, I found that it was due to "Space" in the folder name.

    For example :

    Earlier My folder name was : "Qt Projects"

    Later I changed it to : "QtProjects"

    and my issue was resolved.

    Its very simple but sometimes a major issue.

提交回复
热议问题