From 4820e6242f2e598e7aceee86a78c7de7de21fae9 Mon Sep 17 00:00:00 2001 From: Kwarde Date: Mon, 23 Jun 2025 06:41:52 +0200 Subject: [PATCH] Add makefile --- makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 makefile diff --git a/makefile b/makefile new file mode 100644 index 0000000..46c4194 --- /dev/null +++ b/makefile @@ -0,0 +1,10 @@ +tests: tests.o core.o console.o string.o + gcc tests.o core.o console.o string.o -o tests -no-pie -z noexecstack +tests.o: tests.asm + nasm tests.asm -f elf64 -l tests.lst -g -F dwarf +core.o: core.asm + nasm core.asm -f elf64 -l core.lst -g -F dwarf +console.o: console.asm + nasm console.asm -f elf64 -l console.lst -g -F dwarf +string.o: string.asm + nasm string.asm -f elf64 -l string.lst -g -F dwarf