79fdf55e41b04f286bd05993b51c72c7e28595ad
[efi/edk2/.git] / edk2 / BaseTools / Source / C / Makefiles / ms.lib
1 !INCLUDE ..\Makefiles\ms.common
2
3 LIBRARY = $(LIB_PATH)\$(LIBNAME).lib
4
5 all: $(LIBRARY)
6
7 $(LIBRARY) : $(OBJECTS)
8         -@if not exist $(LIB_PATH) mkdir $(LIB_PATH)
9         $(AR) /nologo /out:$@ $**
10
11 .PHONY:clean
12 clean:
13         del /f /q $(OBJECTS) *.pdb > nul
14
15 .PHONY:cleanall
16 cleanall:
17         del /f /q $(OBJECTS) $(LIBRARY) *.pdb > nul
18
19 !INCLUDE ..\Makefiles\ms.rule
20