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