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