summaryrefslogtreecommitdiffhomepage
path: root/dev/user/src/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'dev/user/src/GNUmakefile')
-rw-r--r--dev/user/src/GNUmakefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev/user/src/GNUmakefile b/dev/user/src/GNUmakefile
new file mode 100644
index 00000000..471e22d1
--- /dev/null
+++ b/dev/user/src/GNUmakefile
@@ -0,0 +1,16 @@
+##################################################
+# (c) Amlal EL Mahrouss, all rights reserved.
+# This is the bootloader makefile.
+##################################################
+
+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) SystemCall+IO.asm -o SystemCall+IO.o