diff options
| author | Kyle Gunger <kgunger12@gmail.com> | 2024-02-19 02:11:25 -0500 |
|---|---|---|
| committer | Kyle Gunger <kgunger12@gmail.com> | 2024-02-19 02:11:25 -0500 |
| commit | 23df3b336dbc4f5d08224fd7c77d24d74100c093 (patch) | |
| tree | f9725a092578279babecd21c8e9de5b3f145fd99 /run.sh | |
| parent | d4c083284985b4d9f60463a9471ce98fe468c7e0 (diff) | |
Basic literal eval
Diffstat (limited to 'run.sh')
| -rwxr-xr-x | run.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 + |