?? 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 -DSNULL_DEBUG # "-O" is needed to expand inlineselse DEBFLAGS = -O2endifCFLAGS = -D__KERNEL__ -DMODULE -Wall $(DEBFLAGS)CFLAGS += -I$(INCLUDEDIR)# Extract version number from headers.VER = $(shell awk -F\" '/REL/ {print $$2}' $(INCLUDEDIR)/linux/version.h)TARGET = snullOBJS = $(TARGET).oSRC = $(TARGET).call: $(TARGET).oinstall: mkdir -p /lib/modules/$(VER)/misc /lib/modules/misc install -c $(TARGET).o /lib/modules/$(VER)/misc install -c $(TARGET).o /lib/modules/miscclean: rm -f *.o *~ core
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -