blob: 3e2ce2f89c19dddee4e293e9b6c1521cd6009840 (
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
|