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