From e855248606ec67fc7ba78d85bac55052f4dc79d2 Mon Sep 17 00:00:00 2001 From: root <> Date: Sun, 4 May 2025 11:26:20 +0000 Subject: [PATCH] makefile --- .gitignore | 6 ++++-- makefile | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 makefile diff --git a/.gitignore b/.gitignore index c7f8df6..863a02a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,10 @@ # ignore all files * -# except files with extensions +# except these !*.* +!makefile -# except except these files + +# except except these *.o diff --git a/makefile b/makefile new file mode 100644 index 0000000..4ec5593 --- /dev/null +++ b/makefile @@ -0,0 +1,3 @@ +main: + nasm -f elf64 -o hello.o hello.s + ld -o hello hello.o