⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 可重构加速部件
💻
字号:
all: pilchard.o # note modules outside of kernel source should properly # do this, not work like this (this breaks SMP machines for# one). See Olaf Titz' CPIE module for a good example (link# from patches page).# for compiling a kernel module # note that -O2 is *necessary*. Kernel code assumes optimisations# performed by gcc CC= gcc KCFLAGS=-DDEBUG -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DMODULE # for user spaceCFLAGS= -Wall -Wstrict-prototypes  -g -O2pilchard.o: pilchard.c	$(CC) $(KCFLAGS) -c -o $@ $<install: pilchard.o	-rmmod pilchard	insmod pilchard.o	/usr/bin/setpci -s 0:0.0 0x54=9	cp pilchard.o /lib/modules/pilchard/.iftest: iftest.c iflib.o iflib.h	gcc $(CFLAGS) -o iftest iftest.c iflib.oiflib.o: iflib.c iflib.hdownload:	download.c	gcc $(CFLAGS) -o download download.cclean:	rm -f *.o iftest download core

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -