Make error: missing separator

后端 未结 12 2285
说谎
说谎 2020-11-22 08:07

I am getting the following error running make:

Makefile:168: *** missing separator.  Stop.

What is causing this?

12条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-22 08:34

    As indicated in the online manual, the most common cause for that error is that lines are indented with spaces when make expects tab characters.

    Correct

    target: 
    \tcmd
    

    where \t is TAB (U+0009)

    Wrong

    target:
    ....cmd
    

    where each . represents a SPACE (U+0020).

提交回复
热议问题