diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-03-05 14:59:24 -0500 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-03-05 14:59:24 -0500 |
commit | db55558626a6821c1dfb0bd24f9652db7d2ebc42 (patch) | |
tree | d2a853c408dc8a231c6d7350c1f03caf64121497 /run.sh | |
parent | 2dca2fa01495072c7497d466ad92ab3df3f19b90 (diff) |
run script
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,9 +1,9 @@ #!/bin/bash -mkdir -p ./build/artifact +mkdir -p ./out/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 +./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 |