summaryrefslogtreecommitdiffstats
path: root/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Makefiles/ms.lib
blob: 6b61fa4782f362e6014cb9d03016a20a33f6836d (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