Add makefile
This commit is contained in:
10
makefile
Normal file
10
makefile
Normal 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
|
Reference in New Issue
Block a user