📄 makefile
字号:
## Makefile for the 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).## Note 2! The CFLAGS definitions are now inherited from the# parent makes..#.c.s: $(CC) $(CFLAGS) -S $<.s.o: $(AS) -c -o $*.o $<.c.o: $(CC) $(CFLAGS) -c $<OBJS = tty_io.o console.o keyboard.o serial.o \ tty_ioctl.o pty.o vt.o mem.o \ defkeymap.oSRCS = tty_io.c console.c keyboard.c serial.c \ tty_ioctl.c pty.c vt.c mem.c \ defkeymap.cifdef CONFIG_ATIXL_BUSMOUSEM = yOBJS := $(OBJS) atixlmouse.oSRCS := $(SRCS) atixlmouse.cendififdef CONFIG_BUSMOUSEM = yOBJS := $(OBJS) busmouse.oSRCS := $(SRCS) busmouse.cendififdef CONFIG_PRINTEROBJS := $(OBJS) lp.oSRCS := $(SRCS) lp.cendififdef CONFIG_MS_BUSMOUSEM = yOBJS := $(OBJS) msbusmouse.oSRCS := $(SRCS) msbusmouse.cendififdef CONFIG_82C710_MOUSECONFIG_PSMOUSE = CONFIG_PSMOUSEendififdef CONFIG_PSMOUSEM = yOBJS := $(OBJS) psaux.oSRCS := $(SRCS) psaux.cendififdef CONFIG_TAPE_QIC02OBJS := $(OBJS) tpqic02.o SRCS := $(SRCS) tpqic02.cendififdef MOBJS := $(OBJS) mouse.oSRCS := $(SRCS) mouse.cendifall: char.achar.a: $(OBJS) $(AR) rcs char.a $(OBJS) sync dep: $(CPP) -M $(SRCS) > .dependdummy:## include a dependency file if one exists#ifeq (.depend,$(wildcard .depend))include .dependendif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -