From 7b009880ad7a4182d3fa8d84468526d0d30d8844 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Fri, 15 Mar 2024 17:27:21 -0400 Subject: Slightly better function call --- tests/run.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 tests/run.sh (limited to 'tests/run.sh') diff --git a/tests/run.sh b/tests/run.sh new file mode 100755 index 0000000..136dac1 --- /dev/null +++ b/tests/run.sh @@ -0,0 +1,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 + -- cgit v1.2.3