summaryrefslogtreecommitdiffhomepage
path: root/Public/Developer/System.Core/Makefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-25 20:17:53 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-25 20:17:53 +0100
commit3b3b36dcc6542e203475fe1d50ed89799e3f3fc6 (patch)
tree3d1e4cfba79343e2b5ef8db58c58271009a44937 /Public/Developer/System.Core/Makefile
parentd968190d1ba48638c1481be0d367ee3cea82ae55 (diff)
Kernel: implement some tickets, improved stuff.
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/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Public/Developer/System.Core/Makefile b/Public/Developer/System.Core/Makefile
new file mode 100644
index 00000000..28ce0bea
--- /dev/null
+++ b/Public/Developer/System.Core/Makefile
@@ -0,0 +1,20 @@
+##################################################
+# (C) Mahrouss Logic, 2024, all rights reserved.
+# This is the System.Graphics Makefile.
+##################################################
+
+CC=x86_64-w64-mingw32-g++
+CCFLAGS=-shared -ffreestanding -nostdlib -fno-rtti -fno-exceptions -std=c++20 -Xlinker --subsystem=17
+OUTPUT=System.Core.lib
+
+.PHONY: build-core-amd64
+build-core-amd64:
+ $(CC) -I../ -I$(HOME) -I../../../Private/ $(CCFLAGS) $(wildcard Sources/*.cxx) $(wildcard AMD64/*.s) -o $(OUTPUT)
+
+.PHONY: all
+all: build-core
+ @echo "[System.Core.dll] Build done."
+
+.PHONY: clean
+clean:
+ rm -f *.o