summaryrefslogtreecommitdiffhomepage
path: root/test/kernel_test/Makefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-10 23:55:23 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-10 23:55:23 +0100
commit8154646d1dcc09c6e6a40f992e3ce03fd3cb0b2b (patch)
tree4ce125e283d74193e2f42d54cb2d0abc008861e5 /test/kernel_test/Makefile
parent7a95bf4f8e0de0648da156ffaaf647c184869dad (diff)
chore: release prep for NeKernel+Nectar.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test/kernel_test/Makefile')
-rw-r--r--test/kernel_test/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/kernel_test/Makefile b/test/kernel_test/Makefile
new file mode 100644
index 00000000..823ac0d2
--- /dev/null
+++ b/test/kernel_test/Makefile
@@ -0,0 +1,22 @@
+##################################################
+# (c) Amlal El Mahrouss and NeKernel Authors, licensed under the Apache 2.0 license.
+# This file is for libSystem.dll's testing stubs.
+##################################################
+
+GCC=x86_64-w64-mingw32-g++ -Wl,-subsystem=17
+LIB=-L../../src/libSystem -lSystem
+STD=-std=c++20 -DKT_TESTING_ENABLED
+INCLUDE=-I../../src -I../../public -I../../public/frameworks/ -I../../
+
+OBJ_FILES = \
+ error.test.exe \
+ print.test.exe \
+ process.test.exe
+
+.PHONY: all
+all: $(OBJ_FILES)
+
+%.exe: %.cc
+ @echo "==> Building test: $@"
+ $(GCC) $(LIB) $< \
+ $(STD) $(INCLUDE) -o $(basename $<).exe \ No newline at end of file