📄 makefile
字号:
KERNELINC :=/home/torvalds/v2.2/linux/include# Used to making the tar.gz for a make 'save' or make 'tarball'VERSION := 0.20CC=gccCFLAGS := -D__KERNEL__ -DMODULE -D__SMP__CFLAGS := $(CFLAGS) -I$(KERNELINC)CFLAGS := $(CFLAGS) -Wall -Wstrict-prototypes -O2 -fomit-frame-pointerCFLAGS := $(CFLAGS) -pipe -fno-strength-reduceCFLAGS := $(CFLAGS) -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586all: usb-uhci.o usb-ohci.o kbd-stub.ousb-uhci.o: uhci.o usb.o usb-debug.o uhci-debug.o mouse.o keyboard.o keymap.o hub.o ld -r -o $@ uhci.o usb.o usb-debug.o uhci-debug.o mouse.o keyboard.o keymap.o hub.ousb-ohci.o: ohci.o usb.o usb-debug.o ohci-debug.o ld -r -o $@ ohci.o usb.o usb-debug.o ohci-debug.ouhci.o: uhci.c uhci.h usb.hohci.o: ohci.c ohci.h usb.husb.o: usb.h usb.cusb-debug.o: usb.h usb-debug.cuhci-debug.o: usb.h uhci.h uhci-debug.cohci-debug.o: usb.h ohci.h ohci-debug.cmouse.o: mouse.c usb.hkeyboard.o: keyboard.c usb.hkeymap.c: maps/serial.map maps/usb.map maps/fixup.map ./mkmap > $@hub.o: hub.c hub.hclean: rm -f *.o *.s keymap.csave: clean cd .. ; tar czvf usb-$(VERSION).tar.gz usb-$(VERSION)# this one is for me to make tarballs from my CVS tree. -- gregtarball: clean cd ../.. ; mv usb/simple usb-$(VERSION) ; tar czvf usb-$(VERSION).tar.gz --exclude CVS --exclude tags usb-$(VERSION) ; mv usb-$(VERSION) usb/simple
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -