“multiple target patterns” Makefile error

后端 未结 6 1799
有刺的猬
有刺的猬 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:40

    My IDE left a mix of spaces and tabs in my Makefile.

    Setting my Makefile to use only tabs fixed this error for me.

提交回复
热议问题