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

📄 makefile

📁 实现一个简单的单进程内核,。该内核启用二级虚拟页表映射
💻
字号:
# This is a make file that builds the library for# kernel/user/lib/stdio##CC = gccAR = arCFLAGS = -nostdinc -fno-strict-aliasing -fno-builtin -Wall -Werror -gOBJCOPY = objcopyINCLUDES    = -I../inc -I../../incSTDIO_OBJS = doprnt.o doscan.o printf.o putchar.o puts.o sprintf.o \             sscanf.oall: libstdio.a%.o: Makefile %.c	$(CC) -c -o $(*F).o $(CFLAGS) $(INCLUDES) -DDOPRNT_FLOATS $(*F).c	$(OBJCOPY) -R .comment -R .note $(*F).o $(*F).olibstdio.a: Makefile $(STDIO_OBJS)	$(AR) rc libstdio.a $(STDIO_OBJS)	mv libstdio.a ..clean:	rm -f *.o *.d *.a

⌨️ 快捷键说明

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