]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/Makefiles/ms.app
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / C / Makefiles / ms.app
1 ## @file
2 # Makefile
3 #
4 # Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
5 # SPDX-License-Identifier: BSD-2-Clause-Patent
6 #
7
8 APPLICATION = $(BIN_PATH)\$(APPNAME).exe
9
10 all: $(APPLICATION)
11
12 $(APPLICATION) : $(OBJECTS)
13 -@if not exist $(BIN_PATH) mkdir $(BIN_PATH)
14 $(LD) /nologo /debug /OPT:REF /OPT:ICF=10 /incremental:no /nodefaultlib:libc.lib /out:$@ $(LIBS) $**
15
16 $(OBJECTS) : $(SOURCE_PATH)\Include\Common\BuildVersion.h
17
18 .PHONY:clean
19 .PHONY:cleanall
20
21 clean:
22 del /f /q $(OBJECTS) *.pdb > nul
23
24 cleanall:
25 del /f /q $(OBJECTS) $(APPLICATION) *.pdb $(BIN_PATH)\$(APPNAME).pdb > nul
26
27 !INCLUDE $(SOURCE_PATH)\Makefiles\ms.rule
28