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