14 lines
250 B
Makefile
14 lines
250 B
Makefile
obj-m += sleep.o
|
|
obj-m += completions.o
|
|
|
|
|
|
PWD := $(CURDIR)
|
|
|
|
all:
|
|
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
|
|
gcc cat_nonblock.c -o 查看文件
|
|
|
|
clean:
|
|
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
|
|
rm 查看文件
|