summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-03-01 13:53:31 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-03-01 13:53:31 +0100
commitf1a121780e58c0e2afebee122d3e0b017baee8ab (patch)
tree9d79d56b3cdee61d2605fecb05c9d98a978c412c
parent374d341bf0216294b58f0198dbe4ba986464563f (diff)
Meta: update makefile.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
-rw-r--r--Private/NewBoot/Source/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Private/NewBoot/Source/makefile b/Private/NewBoot/Source/makefile
index 23680c09..acf686da 100644
--- a/Private/NewBoot/Source/makefile
+++ b/Private/NewBoot/Source/makefile
@@ -9,6 +9,9 @@ LD_FLAGS=-e efi_main --subsystem=10
ASM=nasm
OBJ=$(wildcard *.o) $(wildcard ../../Obj/*.obj) $(wildcard HEL/AMD64/*.obj)
+REM=rm
+REM_FLAG=-f
+
FLAG_ASM=-f win64
FLAG_GNU=-fshort-wchar -DkBootKrnlSections=9 -D__DEBUG__ -mgeneral-regs-only -mno-red-zone -DEFI_FUNCTION_WRAPPER -I../ -I../../ -I./ -c -ffreestanding -fno-rtti -fno-exceptions -std=c++20 -D__HAVE_HCORE_APIS__ -D__HCORE__ -I./ -I$(HOME)/
@@ -35,4 +38,4 @@ download-edk:
.PHONY: clean
clean:
- rm -f $(OBJ) HCoreLdr.exe OVMF.fd
+ $(REM) $(REM_FLAG) $(OBJ) HCoreLdr.exe HCoreKrnl.exe OVMF.fd