BaseTools: Update Makefile to work at absolute path
[mirror_edk2.git] / BaseTools / Source / C / Makefiles / app.makefile
CommitLineData
f51461c8 1## @file\r
97fa0ee9 2# Makefiles\r
f51461c8 3#\r
97fa0ee9 4# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
f51461c8
LG
5# This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
9#\r
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12#\r
13\r
14MAKEROOT ?= ../..\r
15\r
16include $(MAKEROOT)/Makefiles/header.makefile\r
17\r
18APPLICATION = $(MAKEROOT)/bin/$(APPNAME)\r
19\r
20.PHONY:all\r
21all: $(MAKEROOT)/bin $(APPLICATION) \r
22\r
23$(APPLICATION): $(OBJECTS) \r
2dc547da 24 $(LINKER) -o $(APPLICATION) $(BUILD_LFLAGS) $(OBJECTS) -L$(MAKEROOT)/libs $(LIBS)\r
f51461c8 25\r
84e076c8 26$(OBJECTS): $(MAKEROOT)/Include/Common/BuildVersion.h\r
f51461c8
LG
27\r
28include $(MAKEROOT)/Makefiles/footer.makefile\r