summaryrefslogtreecommitdiffhomepage
path: root/Private/makefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-27 21:57:04 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-27 21:57:04 +0100
commit2cf9f370d40a5c6512530c600292c5fac0410e11 (patch)
tree964a997e4ba3285aac8e1ffde3d91bf7fefc7c36 /Private/makefile
parent9b67443fe423bf6d84725183697a040e12296bce (diff)
Kernel: remove SFN, hanging interrupts and COM1 logging.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/makefile')
-rw-r--r--Private/makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Private/makefile b/Private/makefile
index 34f3c16d..c1f32c59 100644
--- a/Private/makefile
+++ b/Private/makefile
@@ -5,7 +5,7 @@
CC = x86_64-w64-mingw32-g++
LD = x86_64-w64-mingw32-ld
-CCFLAGS = -c -ffreestanding -fno-rtti -fno-exceptions -std=c++20 -D__FSKIT_NEWFS__ -D__HAVE_HCORE_APIS__ -D__HCORE__ -I../ -I./ -I$(HOME)/
+CCFLAGS = -c -ffreestanding -D__DEBUG__ -mgeneral-regs-only -mno-red-zone -fno-rtti -fno-exceptions -std=c++20 -D__FSKIT_NEWFS__ -D__HAVE_HCORE_APIS__ -D__HCORE__ -I../ -I./ -I$(HOME)/
ASM = nasm
ASMFLAGS = -f win64
LDFLAGS = -e Main -shared --subsystem=17 -ffreestanding
@@ -38,17 +38,15 @@ h-core-amd64:
OBJCOPY=x86_64-w64-mingw32-objcopy
FONTFLAGS=-b binary
-KERNELFONT=./SSFN/amiga.sfn
.PHONY: link-amd64
link-amd64:
- $(LD) $(FONTFLAGS) $(KERNELFONT) -o console_sfn.exe
- $(LD) $(LDFLAGS) $(LDOBJ) console_sfn.exe -o $(KERNEL)
+ $(LD) $(LDFLAGS) $(LDOBJ) -o $(KERNEL)
cp $(KERNEL) Root/System
.PHONY: all
all: h-core-amd64 link-amd64
- @echo "[HCoreKrnl] HCore is linked."
+ @echo "[HCoreKrnl] HCore is Linked now."
.PHONY: clean
clean: