阅读:1921回复:2
请教各位,这个make文件是用什么工具编译的啊?
PROJ = USBLBK
PROJFILE = USBLBK.MAK DEBUG = 1 PWBRMAKE = pwbrmake NMAKEBSC1 = set NMAKEBSC2 = nmake CC = cl CFLAGS_G = /AL /BATCH /FR$*.sbr CFLAGS_D = /Od /Zi /Gi$(PROJ).mdt CFLAGS_R = /Ot MAPFILE_D = NUL MAPFILE_R = NUL LFLAGS_G = /NOI /STACK:16384 /BATCH LFLAGS_D = /CO /FAR /PACKC LFLAGS_R = /EXE /FAR /PACKC LINKER = link ILINK = ilink LRF = echo > NUL BRFLAGS = /o $(PROJ).bsc BROWSE = 1 OBJS = LIST.obj LOW.obj PCI.obj PCIFIXUP.obj PCIIRQ.obj PCILOW.obj TEST.obj\ EHCI.obj HCD.obj USB.obj HUB.obj PM.obj OHCI.obj UHCI.obj AMECAM.obj\ GLOBAL.obj SBRS = LIST.sbr LOW.sbr PCI.sbr PCIFIXUP.sbr PCIIRQ.sbr PCILOW.sbr TEST.sbr\ EHCI.sbr HCD.sbr USB.sbr HUB.sbr PM.sbr OHCI.sbr UHCI.sbr AMECAM.sbr\ GLOBAL.sbr all: $(PROJ).exe .SUFFIXES: .SUFFIXES: .obj .sbr .c LIST.obj : LIST.C typedef.h List.h LIST.sbr : LIST.C typedef.h List.h LOW.obj : LOW.C typedef.h low.h List.h LOW.sbr : LOW.C typedef.h low.h List.h PCI.obj : PCI.C typedef.h low.h List.h pci.h pci_ids.h pm.h PCI.sbr : PCI.C typedef.h low.h List.h pci.h pci_ids.h pm.h PCIFIXUP.obj : PCIFIXUP.C typedef.h low.h List.h pci.h pci_ids.h pm.h PCIFIXUP.sbr : PCIFIXUP.C typedef.h low.h List.h pci.h pci_ids.h pm.h PCIIRQ.obj : PCIIRQ.C typedef.h low.h List.h pci.h pci_ids.h pm.h PCIIRQ.sbr : PCIIRQ.C typedef.h low.h List.h pci.h pci_ids.h pm.h PCILOW.obj : PCILOW.C typedef.h low.h pci.h List.h pci_ids.h pm.h PCILOW.sbr : PCILOW.C typedef.h low.h pci.h List.h pci_ids.h pm.h TEST.obj : TEST.C typedef.h low.h pci.h hcd.h usb.h ehci.h ohci.h uhci.h hub.h\ amecam.h List.h pci_ids.h pm.h TEST.sbr : TEST.C typedef.h low.h pci.h hcd.h usb.h ehci.h ohci.h uhci.h hub.h\ amecam.h List.h pci_ids.h pm.h EHCI.obj : EHCI.C typedef.h low.h List.h pci.h ehci.h hcd.h hub.h pci_ids.h\ pm.h usb.h EHCI.sbr : EHCI.C typedef.h low.h List.h pci.h ehci.h hcd.h hub.h pci_ids.h\ pm.h usb.h HCD.obj : HCD.C typedef.h low.h List.h pci.h hcd.h usb.h pci_ids.h pm.h hub.h HCD.sbr : HCD.C typedef.h low.h List.h pci.h hcd.h usb.h pci_ids.h pm.h hub.h USB.obj : USB.C typedef.h low.h List.h usb.h USB.sbr : USB.C typedef.h low.h List.h usb.h HUB.obj : HUB.C typedef.h low.h List.h usb.h hub.h HUB.sbr : HUB.C typedef.h low.h List.h usb.h hub.h PM.obj : PM.C typedef.h low.h List.h pm.h PM.sbr : PM.C typedef.h low.h List.h pm.h OHCI.obj : OHCI.C typedef.h low.h List.h pci.h ohci.h hcd.h hub.h pci_ids.h\ pm.h usb.h OHCI.sbr : OHCI.C typedef.h low.h List.h pci.h ohci.h hcd.h hub.h pci_ids.h\ pm.h usb.h UHCI.obj : UHCI.C typedef.h low.h List.h pci.h uhci.h hcd.h hub.h pci_ids.h\ pm.h usb.h UHCI.sbr : UHCI.C typedef.h low.h List.h pci.h uhci.h hcd.h hub.h pci_ids.h\ pm.h usb.h AMECAM.obj : AMECAM.C typedef.h low.h List.h usb.h amecam.h AMECAM.sbr : AMECAM.C typedef.h low.h List.h usb.h amecam.h GLOBAL.obj : GLOBAL.C typedef.h low.h pci.h hcd.h usb.h ehci.h ohci.h uhci.h\ hub.h amecam.h List.h pci_ids.h pm.h GLOBAL.sbr : GLOBAL.C typedef.h low.h pci.h hcd.h usb.h ehci.h ohci.h uhci.h\ hub.h amecam.h List.h pci_ids.h pm.h $(PROJ).bsc : $(SBRS) $(PWBRMAKE) @<< $(BRFLAGS) $(SBRS) << $(PROJ).exe : $(OBJS) !IF $(DEBUG) $(LRF) @<<$(PROJ).lrf $(RT_OBJS: = +^ ) $(OBJS: = +^ ) $@ $(MAPFILE_D) $(LLIBS_G: = +^ ) + $(LLIBS_D: = +^ ) + $(LIBS: = +^ ) $(DEF_FILE) $(LFLAGS_G) $(LFLAGS_D); << !ELSE $(LRF) @<<$(PROJ).lrf $(RT_OBJS: = +^ ) $(OBJS: = +^ ) $@ $(MAPFILE_R) $(LLIBS_G: = +^ ) + $(LLIBS_R: = +^ ) + $(LIBS: = +^ ) $(DEF_FILE) $(LFLAGS_G) $(LFLAGS_R); << !ENDIF $(LINKER) @$(PROJ).lrf $(NMAKEBSC1) MAKEFLAGS= $(NMAKEBSC2) $(NMFLAGS) -f $(PROJFILE) $(PROJ).bsc .c.obj : !IF $(DEBUG) $(CC) /c $(CFLAGS_G) $(CFLAGS_D) /Fo$@ $< !ELSE $(CC) /c $(CFLAGS_G) $(CFLAGS_R) /Fo$@ $< !ENDIF .c.sbr : !IF $(DEBUG) $(CC) /Zs $(CFLAGS_G) $(CFLAGS_D) /FR$@ $< !ELSE $(CC) /Zs $(CFLAGS_G) $(CFLAGS_R) /FR$@ $< !ENDIF run: $(PROJ).exe $(PROJ).exe $(RUNFLAGS) debug: $(PROJ).exe CV $(CVFLAGS) $(PROJ).exe $(RUNFLAGS) |
|
沙发#
发布于:2005-08-06 19:21
nmake
|
|
板凳#
发布于:2005-08-07 18:12
用nmake来编写的,是一个小的工具,你在vc++中可以找到。
|
|