diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f645cb3 --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +hello-world: hello-world.o + ld -m elf_x86_64 -o hello-world hello-world.o +hello-world.o: hello-world.asm + nasm -f elf64 hello-world.asm +clean: + rm *.o + rm hello-world +run: hello-world + ./hello-world |