summaryrefslogtreecommitdiffhomepage
path: root/dev/libSystem/src/GNUmakefile
diff options
context:
space:
mode:
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