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

📄 makefile

📁 Linux 0.11 代码在不做修改的情况下,很难在现在的环境下这接编译通过(除非你能的到 10 几年前 Linus 用的那个版本的 gcc 什么的)。所以要对代码作少量修改(说说是少量花了好几小时的
💻
字号:
## 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).## XXX lexiongjia modifyAR	=arAS	=asLD	=ldLDFLAGS	=-s -xCC	=gccCFLAGS	=-Wall -O -fstrength-reduce -fomit-frame-pointer \	-finline-functions -nostdinc -mcpu=i386 -I../../includeCPP	=gcc -E -nostdinc  -mcpu=i386 -I../../include.c.s:	$(CC) $(CFLAGS) \	-S -o $*.s $<# XXX lexiongjia modify.s.o:	$(AS) -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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -