summaryrefslogtreecommitdiffhomepage
path: root/dev/libSystem/src/GNUmakefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-29 10:51:53 +0200
committerGitHub <noreply@github.com>2025-05-29 10:51:53 +0200
commit5c0bb7ee7b1b0fee02cc179fb21f4c57a61d6c2d (patch)
treecb17577bcdc9714c97a84ce417a075117097f146 /dev/libSystem/src/GNUmakefile
parentd608230b1350b064ceb01e6572519b108f6139b0 (diff)
parent3167f59dbb401d6a79b1524537e04218baf49ee3 (diff)
Merge pull request #32 from nekernel-org/dev
0.0.2e3
Diffstat (limited to 'dev/libSystem/src/GNUmakefile')
-rw-r--r--dev/libSystem/src/GNUmakefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev/libSystem/src/GNUmakefile b/dev/libSystem/src/GNUmakefile
new file mode 100644
index 00000000..9b901f9f
--- /dev/null
+++ b/dev/libSystem/src/GNUmakefile
@@ -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 sci_asm_io_<arch> instead."
+
+.PHONY: sci_asm_io_x64
+sci_asm_io_x64:
+ $(ASM) $(FLAGS) SystemCalls+IO.asm -o SystemCalls+IO.stub.obj