summaryrefslogtreecommitdiffhomepage
path: root/dev/libSystem/src/Makefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-06-03 09:31:01 +0200
committerGitHub <noreply@github.com>2025-06-03 09:31:01 +0200
commit6511afbf405c31513bc88ab06bca58218610a994 (patch)
treee2509b7f9b59643b2a97773604aa383a2fd2e2f3 /dev/libSystem/src/Makefile
parent5c0bb7ee7b1b0fee02cc179fb21f4c57a61d6c2d (diff)
parentbebcbe04c2b47b3b4fcdc093b1736cc0295109fe (diff)
Merge pull request #36 from nekernel-org/dev
0.0.3 — NeKernel
Diffstat (limited to 'dev/libSystem/src/Makefile')
-rw-r--r--dev/libSystem/src/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev/libSystem/src/Makefile b/dev/libSystem/src/Makefile
new file mode 100644
index 00000000..39af446b
--- /dev/null
+++ b/dev/libSystem/src/Makefile
@@ -0,0 +1,16 @@
+##################################################
+# (c) Amlal El Mahrouss, all rights reserved.
+# This file is for libSystem.sys's syscall stubs.
+##################################################
+
+ASM=nasm
+FLAGS=-f win64
+
+.PHONY: error
+error:
+ @echo "==> Invalid rule."
+ @echo "==> Use libsys_asm_io_<arch> instead."
+
+.PHONY: libsys_asm_io_x64
+libsys_asm_io_x64:
+ $(ASM) $(FLAGS) SystemProc.asm -o SystemProc.stub.obj