summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/C/Makefiles/ms.lib
blob: ebb516535ca7cd65b5bbc7740d4b9eca7c0138db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## @file
#
# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent

!INCLUDE ..\Makefiles\ms.common

LIBRARY = $(LIB_PATH)\$(LIBNAME).lib

all: $(LIBRARY)

$(LIBRARY) : $(OBJECTS)
	-@if not exist $(LIB_PATH) mkdir $(LIB_PATH)
	$(AR) /nologo /out:$@ $**

.PHONY:clean
clean:
	del /f /q $(OBJECTS) *.pdb > nul

.PHONY:cleanall
cleanall:
	del /f /q $(OBJECTS) $(LIBRARY) *.pdb > nul

!INCLUDE ..\Makefiles\ms.rule