makefile
来自「一个基于s3c2410嵌入式系统的并口实验(包括驱动程序和测试程序)」· 代码 · 共 21 行
TXT
21 行
CC = /opt/host/armv4l/bin/armv4l-unknown-linux-gcc LD = /opt/host/armv4l/bin/armv4l-unknown-linux-ldCFLAGS = -D__KERNEL__ -I/HHARM9-EDU/kernel/include/linux -I/HHARM9-EDU/kernel/include -Wall -Wstrict-prototypes -Wno-trigraphs -Os -mapcs -fno-strict-aliasing -fno-common -fno-common -pipe -mapcs-32 -march=armv4 -mtune=arm9tdmi -mshort-load-bytes -msoft-float -DKBUILD_BASENAME=s3c2410_parport -I/opt/host/armv4l/src/linux/include -DMODULEall: test_parport test_parport: test_parport.c $(CC) $^ -o $@ .PHONY: cleanclean: -rm -f *.o -rm -f test_parportdistclean: @make clean rm -f tags *~
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?