diff options
author | Gentoo <installgentoo@endianness.com> | 2021-03-27 09:42:04 +1100 |
---|---|---|
committer | Gentoo <installgentoo@endianness.com> | 2021-03-27 09:42:04 +1100 |
commit | f69199ab0e901ea8d7ad72c1e2045ee3cdfaabdc (patch) | |
tree | b710b27e475f137e375d4a89467510267e8aaba8 /Makefile | |
download | fizzbuzz-asm-stack-f69199ab0e901ea8d7ad72c1e2045ee3cdfaabdc.tar.gz fizzbuzz-asm-stack-f69199ab0e901ea8d7ad72c1e2045ee3cdfaabdc.tar.bz2 fizzbuzz-asm-stack-f69199ab0e901ea8d7ad72c1e2045ee3cdfaabdc.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f57703f --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +fizzbuzz: fizzbuzz.o + ld -m elf_x86_64 -o fizzbuzz fizzbuzz.o +fizzbuzz.o: fizzbuzz.asm + nasm -f elf64 fizzbuzz.asm +strip: strip.o + ld -m elf_x86_64 -o strip strip.o +strip.o: fizzbuzz.asm + nasm -f elf64 fizzbuzz.asm -o strip.o +clean: + rm *.o + rm fizzbuzz + rm strip +run: fizzbuzz + ./fizzbuzz |