Errors in make file : *** missing separator. Stop

前端 未结 3 515
不思量自难忘°
不思量自难忘° 2020-12-30 19:19

I am facing errors in make file in CentOS 6.02 64 bit. I need to know what should be done to make the makefile workable. Any suggestion will be greatly helpful. My make file

3条回答
  •  礼貌的吻别
    2020-12-30 20:16

    You can find an explanation of this error in Appendix B Errors Generated by Make.

    Every line in a recipe must begin with a tab character. The recipes starting with $(C++) and $(CC) near the top of your file do not seem to start with a tab character.

    Additionally, the section

    INCLUDE = \
        -I./usr/include/sys
        -I./Headers \
    

    seems to be missing a backslash after sys and that same section (and many more) have superfluous empty lines.

提交回复
热议问题