makefile

来自「freedos32的源代码」· 代码 · 共 45 行

TXT
45
字号
ifndef OSLIBOSLIB = ../../../oslibendififndef DRIVERSDRIVERS = ../../../driversendififndef PORTABPORTAB = ../../../drivers/include/fd32endifinclude $(OSLIB)/config.mkINCL   = $(OSLIB)LIB_PATH    = $(OSLIB)/lib/LIB_DIR  = $(OSLIB)\lib#DEBUG = -D__DEBUG__ -D__DPMI_DEBUG__ -D__DPMIMEM_DEBUG__ -D__RM_INT_DEBUG__C_OPT += -I../../include -I ./include -I$(DRIVERS) -I$(PORTAB) $(DEBUG)LINK_OPT = -BstaticOBJS = chandler.o dpmimem.o dpmiexc.o rmint.o ldtmanag.o init.o \	vga.o int31_00.o int31_02.o int31_03.o int31_04.o int31_05.o \	int31_06.o int31_0e.o int10.o int16.o int21.o int28.o int29.o \	int33.o int31_09.oVPATH = srcall: dpmi.oclean :	$(RM) *.odpmi.o: $(OBJS)	$(LD) $(LINK_OPT) $(OBJS) -r -s -o dpmi.o# Common rules%.o : %.c	$(REDIR) $(CC) $(C_OPT) $(C_OUTPUT) -c $<%.s : %.c	$(REDIR) $(CC) $(C_OPT) $(C_OUTPUT) -S $<%.o : %.s	$(CC) $(ASM_OPT) -c $<

⌨️ 快捷键说明

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