summaryrefslogtreecommitdiffhomepage
path: root/Private/makefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-29 16:32:49 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-29 16:34:06 +0100
commitf3992c78790af42c53ed149cf04751261393d8e8 (patch)
tree065fc8b2c6bb9305aefe5e4c2bf585b6cc20dafe /Private/makefile
parent1a22cb4fd330bf01f1c94bd12fcad9ab278b4f80 (diff)
Kernel: Pre-Release
- Kernel - Bootloader Working on AHCI support, AHCI is very important to bring fast I/O support, ACPI and APIC is also in WiP for AMD64 HAL this time. Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/makefile')
-rw-r--r--Private/makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Private/makefile b/Private/makefile
index e053cb96..8c721dc3 100644
--- a/Private/makefile
+++ b/Private/makefile
@@ -3,9 +3,9 @@
# This is the microkernel makefile.
##################################################
-CC = x86_64-w64-mingw32-g++
+CC = x86_64-w64-mingw32-gcc
LD = x86_64-w64-mingw32-ld
-CCFLAGS = -c -ffreestanding -fPIC -fmodules-ts -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)/
+CCFLAGS = -c -ffreestanding -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 --subsystem=17
@@ -25,7 +25,7 @@ MOVEALL=./MoveAll.sh
.PHONY: h-core-amd64
h-core-amd64:
- $(CC) $(CCFLAGS) Source/*.cxx HALKit/AMD64/PCI/*.cpp Source/Network/*.cxx\
+ $(CC) $(CCFLAGS) Source/*.cxx HALKit/AMD64/PCI/*.cxx Source/Network/*.cxx\
Source/Storage/*.cxx HALKit/AMD64/*.cxx HALKit/AMD64/*.cpp HALKit/AMD64/*.s
$(ASM) $(ASMFLAGS) HALKit/AMD64/HalInterruptRouting.asm
$(ASM) $(ASMFLAGS) HALKit/AMD64/HalSMPCoreManager.asm