From d7420ce44209bf6225df644880c0da2b2fb8638a Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 25 Apr 2024 15:14:28 +0200 Subject: MHR-16: Improve makefile, add $(TARGETS) which encapsulate all of the targets. Signed-off-by: Amlal El Mahrouss --- Private/NewBoot/Source/makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Private/NewBoot/Source/makefile b/Private/NewBoot/Source/makefile index 6eb14801..f0e44ba2 100644 --- a/Private/NewBoot/Source/makefile +++ b/Private/NewBoot/Source/makefile @@ -76,9 +76,11 @@ epm-img: download-edk: $(HTTP_GET) https://retrage.github.io/edk2-nightly/bin/DEBUGX64_OVMF.fd -O OVMF.fd +TARGETS=$(REM_FLAG) $(OBJ) NewBoot.exe NewKernel.exe OVMF.fd $(IMG) $(IMG_2) *.bin + .PHONY: clean clean: - $(REM) $(REM_FLAG) $(OBJ) NewBoot.exe NewKernel.exe OVMF.fd $(IMG) $(IMG_2) *.bin + $(REM) $(TARGETS) .PHONY: help help: -- cgit v1.2.3