diff options
author | Gentoo <installgentoo@endianness.com> | 2021-03-27 09:49:11 +1100 |
---|---|---|
committer | Gentoo <installgentoo@endianness.com> | 2021-03-27 09:49:11 +1100 |
commit | e22a8e69af35b694e24ed30068f536501212f356 (patch) | |
tree | 11c8d01f0c731d62cdaf2b3bc320e1b8fb399ee5 /Makefile | |
download | hello-world-asm-master.tar.gz hello-world-asm-master.tar.bz2 hello-world-asm-master.zip |
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 |