📄 makefile
字号:
# Comment/uncomment the following line to enable/disable debugging#DEBUG = y# Change it here or specify it on the "make" commandlineINCLUDEDIR = /usr/includeifeq ($(DEBUG),y) DEBFLAGS = -O -g -DSHORT_DEBUGelse DEBFLAGS = -O2endifCFLAGS = -D__KERNEL__ -DMODULE -Wall $(DEBFLAGS)CFLAGS += -I$(INCLUDEDIR)OBJS = short.oall: $(OBJS)skull.o: skull_init.o skull_clean.o $(LD) -r $^ -o $@install: mkdir -p /lib/modules/$(VER)/misc /lib/modules/misc install -c short.o /lib/modules/$(VER)/misc install -c short.o /lib/modules/miscclean: rm -f *.o *~ core
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -