From db55558626a6821c1dfb0bd24f9652db7d2ebc42 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Tue, 5 Mar 2024 14:59:24 -0500 Subject: run script --- .gitignore | 2 +- run.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 7a7d136..e19a730 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ ctc -build +out *.tnsl 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 -- cgit v1.2.3