e414551b4a350a82e96366af6f4de66e35df61cb
[mirror_edk2.git] / BaseTools / Source / C / Makefiles / app.makefile
1 ## @file
2 # Makefiles
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 MAKEROOT ?= ../..
15
16 include $(MAKEROOT)/Makefiles/header.makefile
17
18 APPLICATION = $(MAKEROOT)/bin/$(APPNAME)
19
20 .PHONY:all
21 all: $(MAKEROOT)/bin $(APPLICATION)
22
23 $(APPLICATION): $(OBJECTS)
24 $(LINKER) -o $(APPLICATION) $(BUILD_LFLAGS) $(OBJECTS) -L$(MAKEROOT)/libs $(LIBS)
25
26 $(OBJECTS): ../Include/Common/BuildVersion.h
27
28 include $(MAKEROOT)/Makefiles/footer.makefile