📄 makefile
字号:
# Comment/uncomment the following line to enable/disable debugging#DEBUG = y# This Makefile has been simplified as much as possible, by putting all# generic material, independent of this specific directory, into# ../Rules.make. Read that file for detailsTOPDIR := $(pwd)include Rules.make# Add your debugging flag (or not) to CFLAGSifeq ($(DEBUG),y) DEBFLAGS = -O -g -DJIT_DEBUG -DJIQ_DEBUG -DALL_DEBUGelse DEBFLAGS = -O2endifCFLAGS += $(DEBFLAGS) -I..GENKSYMS = /sbin/genksymsifdef CONFIG_SMP GENKSYMS += -p smp_endifOBJS = sw4.oSRC = $(OBJS:.o:.c)BIN = testall: $(OBJS) $(BIN)clean: rm -f *.o *.ver *~ $(BIN)# Don't use -Wall here: the code is silly by designtest:test.c $(CC) -o $@ $<#FIXME: the 2.4.0 below is plain wrong :)ifdef CONFIG_MODVERSIONSexport.o import.o: export.verendifexport.ver: export.c $(CC) -I$(INCLUDEDIR) $(CFLAGS) -E -D__GENKSYMS__ $^ | \ $(GENKSYMS) -k 2.4.0 > $@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -