]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/Makefiles/ms.lib
Sync EDKII BaseTools to BaseTools project r1903.
[mirror_edk2.git] / BaseTools / Source / C / Makefiles / ms.lib
1 ## @file
2 #
3 # Copyright (c) 2007 - 2010, Intel Corporation
4 # All rights reserved. This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
8 #
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 !INCLUDE ..\Makefiles\ms.common
13
14 LIBRARY = $(LIB_PATH)\$(LIBNAME).lib
15
16 all: $(LIBRARY)
17
18 $(LIBRARY) : $(OBJECTS)
19 -@if not exist $(LIB_PATH) mkdir $(LIB_PATH)
20 $(AR) /nologo /out:$@ $**
21
22 .PHONY:clean
23 clean:
24 del /f /q $(OBJECTS) *.pdb > nul
25
26 .PHONY:cleanall
27 cleanall:
28 del /f /q $(OBJECTS) $(LIBRARY) *.pdb > nul
29
30 !INCLUDE ..\Makefiles\ms.rule
31