edk2/BaseTools/Source/C/Makefiles/app.makefile
Michael D Kinney 12f785f106 Revert "BaseTools: Add support for out-of-tree builds"
This reverts commit 3fe1d56cc9.

PR https://github.com/tianocore/edk2/pull/11757 introduced a
"Breaking Change" feature for out of tree builds of tools.

This breaking change is blocking testing of edk2-stable202602
due to side effects on building FitGen tool in edk2-platforms.

Revert this feature for the edk2-stable202602 release and
work on this feature after the release.

Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2026-02-11 22:53:29 +00:00

32 lines
741 B
Makefile

## @file
# Makefiles
#
# Copyright (c) 2007 - 2025, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
MAKEROOT ?= ../..
include $(MAKEROOT)/Makefiles/header.makefile
APPLICATION = $(MAKEROOT)/bin/$(APPNAME)
.PHONY:all
all: $(MAKEROOT)/bin $(APPLICATION)
$(APPLICATION): $(OBJECTS)
$(LINKER) -o $(APPLICATION) $(LDFLAGS) $(OBJECTS) -L$(MAKEROOT)/libs $(LIBS)
ifeq (Windows, $(findstring Windows,$(OS)))
$(CP) $(APPLICATION).exe $(BIN_PATH)
endif
$(OBJECTS): $(MAKEROOT)/Include/Common/BuildVersion.h
clean: appClean
appClean:
ifeq (Windows, $(findstring Windows,$(OS)))
$(RM) $(BIN_PATH)/$(APPNAME).exe
endif
include $(MAKEROOT)/Makefiles/footer.makefile