summaryrefslogtreecommitdiffhomepage
path: root/Public/SDK/System.Core/Makefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-22 00:57:17 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-22 00:57:17 +0100
commit7b16a971891e12550569aa67d4185c2e51c3b8a9 (patch)
tree41a2916a5225139cca013181af6a7faf53036305 /Public/SDK/System.Core/Makefile
parent80b76666074aa94f165e3db7b3dda2145ca6efc0 (diff)
unstable: /Public/: Rename Kits/ to SDK/
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/SDK/System.Core/Makefile')
-rw-r--r--Public/SDK/System.Core/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Public/SDK/System.Core/Makefile b/Public/SDK/System.Core/Makefile
new file mode 100644
index 00000000..13fdf960
--- /dev/null
+++ b/Public/SDK/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.dll
+
+.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