summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-03-05 14:59:24 -0500
committerKyle Gunger <kgunger12@gmail.com>2024-03-05 14:59:24 -0500
commitdb55558626a6821c1dfb0bd24f9652db7d2ebc42 (patch)
treed2a853c408dc8a231c6d7350c1f03caf64121497 /run.sh
parent2dca2fa01495072c7497d466ad92ab3df3f19b90 (diff)
run script
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/run.sh b/run.sh
index d6a0f2b..3e2ce2f 100755
--- a/run.sh
+++ b/run.sh
@@ -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