Make error: missing separator

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

I am getting the following error running make:

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

What is causing this?

12条回答
  •  旧时难觅i
    2020-11-22 08:46

    Following Makefile code worked:

    obj-m = hello.o
    
    all:
        $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules 
    
    clean:
        $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
    

提交回复
热议问题