summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/System.Core/Makefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 14:56:11 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-28 15:01:38 +0100
commit215518ae55a54973a1ae18f572ca5bf0ac2a499e (patch)
tree672cf9d94d0d5c3b5276d58edf3b7179100e493e /Public/Developer/System.Core/Makefile
parent84cc6ff6f43b48383248282743efc514946db641 (diff)
Kernel: Move CA_FAR CA_NEAR into x86 code only.
Kernel: Breaking changes, removed kObjectTypeProcess and KObjectTypeUserDefined with kObjectTypeGeneric. Makefile: Move ' -I../ -I../../../Private/ ' to CCINC variable. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Developer/System.Core/Makefile')
-rw-r--r--Public/Developer/System.Core/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/Public/Developer/System.Core/Makefile b/Public/Developer/System.Core/Makefile
index 0f20cc72..32b473f3 100644
--- a/Public/Developer/System.Core/Makefile
+++ b/Public/Developer/System.Core/Makefile
@@ -1,19 +1,20 @@
##################################################
-# (C) Mahrouss Logic, all rights reserved.
-# This is the System.Graphics Makefile.
+# (C) Mahrouss Logic, all rights reserved.
+# This is the SystemLib Makefile.
##################################################
CC=x86_64-w64-mingw32-g++
+CCINC=-I../ -I../../../Private/
CCFLAGS=-shared -ffreestanding -D__SINGLE_PRECISION__ -nostdlib -fno-rtti -fno-exceptions -std=c++20 -Xlinker --subsystem=17
-OUTPUT=System.Core.lib
+OUTPUT=SystemLib.lib
.PHONY: build-core-amd64
build-core-amd64:
- $(CC) -I../ -I$(HOME) -I../../../Private/ $(CCFLAGS) $(wildcard Sources/*.c) $(wildcard Sources/*.cxx) $(wildcard AMD64/*.s) -o $(OUTPUT)
+ $(CC) $(INC) $(CCFLAGS) $(wildcard Sources/*.c) $(wildcard Sources/*.cxx) $(wildcard AMD64/*.s) -o $(OUTPUT)
.PHONY: all
-all: build-core
- @echo "[System.Core.dll] Build done."
+all: build-core-amd64
+ @echo "[SystemLib.lib] Build done."
.PHONY: clean
clean: