📄 makefile
字号:
# stepper/makefile# Comment/uncomment the following line to enable/disable debugging#DEBUG = y# Change it here or specify it on the "make" commandlineINCLUDEDIR = /usr/include ifeq ($(DEBUG),y) DEBFLAGS = -O -g -DSTEP_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}' $(INCLUDE)/linux/version.h)TARGET = stepperOBJS = $(TARGET).oall: $(OBJS)clean: rm -f *.o *~ core
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -