diff options
author | Gentoo <installgentoo@endianness.com> | 2021-03-27 09:36:59 +1100 |
---|---|---|
committer | Gentoo <installgentoo@endianness.com> | 2021-03-27 09:36:59 +1100 |
commit | 6922e1d964291329580b5b789ab333fb63167815 (patch) | |
tree | e0f4df17f76f62b3331d1af38e5c23d83539121e /Makefile | |
download | character-counter-6922e1d964291329580b5b789ab333fb63167815.tar.gz character-counter-6922e1d964291329580b5b789ab333fb63167815.tar.bz2 character-counter-6922e1d964291329580b5b789ab333fb63167815.zip |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1186c39 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +count: count.o + ld -m elf_x86_64 -o count count.o +count.o: count.asm + nasm -f elf64 -g -F stabs count.asm -l count.lst +strip: strip.o + ld -m elf_x86_64 -o strip strip.o +strip.o: count.asm + nasm -f elf64 count.asm -o strip.o +clean: + rm *.lst + rm *.o + rm count + rm strip |