]> git.proxmox.com Git - mirror_edk2.git/blame - BaseTools/Source/C/Makefiles/ms.app
Sync BaseTool trunk (version r2649) into EDKII BaseTools.
[mirror_edk2.git] / BaseTools / Source / C / Makefiles / ms.app
CommitLineData
0d2711a6
LG
1## @file\r
2#\r
3# Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
4# This program and the accompanying materials\r
5# are licensed and made available under the terms and conditions of the BSD License\r
6# which accompanies this distribution. The full text of the license may be found at\r
7# http://opensource.org/licenses/bsd-license.php\r
8#\r
9# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
f51461c8
LG
10# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
11\r
12!INCLUDE ..\Makefiles\ms.common\r
13\r
14APPLICATION = $(BIN_PATH)\$(APPNAME).exe\r
15\r
16all: $(APPLICATION) \r
17\r
18$(APPLICATION) : $(OBJECTS) \r
19 -@if not exist $(BIN_PATH) mkdir $(BIN_PATH)\r
20 $(LD) /nologo /debug /incremental:no /nodefaultlib:libc.lib /out:$@ $(LIBS) $**\r
21\r
0d2711a6
LG
22$(OBJECTS) : ..\Include\Common\BuildVersion.h\r
23\r
f51461c8
LG
24.PHONY:clean\r
25.PHONY:cleanall\r
26\r
27clean:\r
28 del /f /q $(OBJECTS) *.pdb > nul\r
29\r
30cleanall:\r
31 del /f /q $(OBJECTS) $(APPLICATION) *.pdb $(BIN_PATH)\*.pdb > nul\r
32\r
33!INCLUDE ..\Makefiles\ms.rule\r
34\r