summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-25 15:14:28 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-25 15:14:28 +0200
commitd7420ce44209bf6225df644880c0da2b2fb8638a (patch)
tree7582be33e34853d6e81d6c65ebe3a2eee9974476
parent9bf7420620393fe693576aa04c57ea4eefc925d7 (diff)
MHR-16: Improve makefile, add $(TARGETS) which encapsulate all of the
targets. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
-rw-r--r--Private/NewBoot/Source/makefile4
1 files changed, 3 insertions, 1 deletions
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: