20 lines
524 B
Bash
Executable File
20 lines
524 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# baseline
|
|
nasm -g -felf64 ../input/baseline/gc.asm -o gc.o
|
|
nasm -g -felf64 ../input/baseline/alloc.asm -o alloc.o
|
|
nasm -g -felf64 ../input/baseline/str_cmp.asm -o str_cmp.o
|
|
|
|
# core
|
|
nasm -g -felf64 ../input/core/str_len.asm -o str_len.o
|
|
nasm -g -felf64 ../input/core/arr_size.asm -o arr_size.o
|
|
nasm -g -felf64 ../input/core/itoa.asm -o itoa.o
|
|
|
|
# program
|
|
nasm -g -felf64 out.asm -o out.o
|
|
|
|
# tmp
|
|
nasm -g -felf64 ../input/util.asm -o util.o
|
|
|
|
ld -o out out.o gc.o alloc.o str_cmp.o str_len.o arr_size.o itoa.o util.o
|