#*******************************************************************************
# Copyright (c) 2008-2011 VMware, Inc.  All rights reserved.
#
# This file is part of the esxboot project.
#
# esxboot is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software
# Foundation version 2 and no later version.
#
# esxboot is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#*******************************************************************************

TOPDIR   := ../..
include common.mk

BUILD_DIR := $(TOOLS_DIR)

all: $(BUILD_DIR) $(RELOCS)

$(RELOCS): relocs.c
	$(call print,CC,$@)
	$(CC) -O2 -o $@ $^

$(BUILD_DIR):
	$(call MKDIR,$@)
