📄 makefile
字号:
## This makefile builds the thread library#CC = gccAR = arCFLAGS = -nostdinc -fno-strict-aliasing -fno-builtin -Wall -Werror -gstabs+OBJCOPY = objcopyINCLUDES = -I../inc -I../../incinclude ../../user.mkall: libthread.a%.o: Makefile %.c $(CC) -c -o $(*F).o $(CFLAGS) $(INCLUDES) $(*F).c $(OBJCOPY) -R .comment -R .note $(*F).o $(*F).o%.o: Makefile %.s $(CC) -c -o $(*F).o $(CFLAGS) $(INCLUDES) $(*F).s $(OBJCOPY) -R .comment -R .note $(*F).o $(*F).o%.o: Makefile %.S $(CC) -c -o $(*F).o $(CFLAGS) $(INCLUDES) $(*F).S $(OBJCOPY) -R .comment -R .note $(*F).o $(*F).olibthread.a: Makefile $(THREAD_OBJS) $(AR) rc libthread.a $(THREAD_OBJS) mv libthread.a ..clean: rm -f *.o *.d *.a *~
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -