From 23df3b336dbc4f5d08224fd7c77d24d74100c093 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 19 Feb 2024 02:11:25 -0500 Subject: Basic literal eval --- run.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 run.sh (limited to 'run.sh') diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..d6a0f2b --- /dev/null +++ b/run.sh @@ -0,0 +1,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 + -- cgit v1.2.3