Add makefile

This commit is contained in:
2025-06-23 06:41:52 +02:00
parent 0d6b2465c6
commit 4820e6242f

10
makefile Normal file
View File

@ -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