makefile

来自「linux 1.1 源码分析 有教程 有全部源码 学习linux的好东西」· 代码 · 共 44 行

TXT
44
字号
## Makefile for the FREAX-kernel character device drivers.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your own dependencies here# unless it's something special (ie not a .c file).#AR	=garAS	=gasLD	=gldLDFLAGS	=-s -xCC	=gccCFLAGS	=-Wall -O -fstrength-reduce -fomit-frame-pointer -fcombine-regs \	-finline-functions -mstring-insns -nostdinc -I../../includeCPP	=gcc -E -nostdinc -I../../include.c.s:	$(CC) $(CFLAGS) \	-S -o $*.s $<.s.o:	$(AS) -c -o $*.o $<.c.o:	$(CC) $(CFLAGS) \	-c -o $*.o $<OBJS  = math_emulate.omath.a: $(OBJS)	$(AR) rcs math.a $(OBJS)	syncclean:	rm -f core *.o *.a tmp_make	for i in *.c;do rm -f `basename $$i .c`.s;donedep:	sed '/\#\#\# Dependencies/q' < Makefile > tmp_make	(for i in *.c;do echo -n `echo $$i | sed 's,\.c,\.s,'`" "; \		$(CPP) -M $$i;done) >> tmp_make	cp tmp_make Makefile### Dependencies:

⌨️ 快捷键说明

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