diff options
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 |