📄 makefile
字号:
test = "test_lucas_com"module = "lucas_com"ifneq ($(KERNELRELEASE),) obj-m := lucas_com.oelse KERNELDIR ?= /lib/modules/$(shell uname -r)/build PWD := $(shell pwd)default: $(MAKE) -C $(KERNELDIR) M=$(PWD) modules gcc -o $(test).o $(test).cclean: rm -f *.o *.koendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -