blob: d6a0f2b6dcf0936bed29c106beaa86f524b63bd7 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
mkdir -p ./build/artifact
filename=$1
filename="${filename%.*}"
./ctc $1 build/artifact/$filename.asm
nasm -f elf64 -o ./build/artifact/$filename.o ./build/artifact/$filename.asm
gcc -o ./build/$filename ./build/artifact/$filename.o
|