makefile
来自「操作系统试验!通过这个试验」· 代码 · 共 27 行
TXT
27 行
# This is a make file that builds the library for# kernel/lib/stdio##CC = gccAR = arCFLAGS = -nostdinc -fno-strict-aliasing -fno-builtin -g -Wall -WerrorLD = ldLDFLAGS = -staticINCLUDES = -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) $(*F).clibstdio.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 + =
减小字号Ctrl + -
显示快捷键?