makefile

来自「MX1(Arm9 based)Linux USB driver」· 代码 · 共 25 行

TXT
25
字号
CC=arm-linux-gccLD = arm-linux-ldINCLUDE := /vobs/vb_elinuxbsp/eLinuxBSP/Kernel/Source/includeLIB_INC := /usr/local/arm/lib/gcc-lib/arm-linux/3.2.3/includeCFLAGS := -O6 -Wall -DCONFIG_KERNELD -DMODULE -D__KERNEL__ -march=armv4 -DLinux -nostdinc -I- -I. -I$(INCLUDE) -idirafter $(LIB_INC)usb.o: UsbInit.o UsbIntrHandler.o iUsbHandleDevReq.o iUsbProcessCommand.o	$(LD) -r -o $@ $^	rm Usb*.o iUsb*.oUsbInit.o: UsbInit.c define.h mx1.h type.h prototype.h variable.h	$(CC) $(CFLAGS) -c UsbInit.cUsbIntrHandler.o: UsbIntrHandler.c define.h mx1.h type.h prototype.h variable.h	$(CC) $(CFLAGS) -c UsbIntrHandler.ciUsbHandleDevReq.o: iUsbHandleDevReq.c define.h mx1.h type.h prototype.h variable.h	$(CC) $(CFLAGS) -c iUsbHandleDevReq.ciUsbProcessCommand.o: iUsbProcessCommand.c  define.h mx1.h type.h prototype.h variable.h	$(CC) $(CFLAGS) -c iUsbProcessCommand.cclean:	rm -f *.o

⌨️ 快捷键说明

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