summaryrefslogtreecommitdiff
path: root/tests/run.sh
blob: 136dac19b11c7e3d29ba63ecbd78b2fd1c59019c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash

mkdir -p ./out/artifact
filename=$1
filename="${filename%.*}"
../ctc $1 out/artifact/$filename.asm
nasm -f elf64 -o ./out/artifact/$filename.o ./out/artifact/$filename.asm
gcc -o ./out/$filename ./out/artifact/$filename.o