diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-03-15 17:28:48 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-03-15 17:28:48 -0400 |
commit | f80bb4fd79f27210b606966c421ff3104ad0c959 (patch) | |
tree | 0a842f8586417cd5564073c15e7056f128eefa6f /tnslc | |
parent | 7b009880ad7a4182d3fa8d84468526d0d30d8844 (diff) |
Build script
Diffstat (limited to 'tnslc')
-rwxr-xr-x | tnslc/build.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tnslc/build.sh b/tnslc/build.sh index 798e77d..a12ad5b 100755 --- a/tnslc/build.sh +++ b/tnslc/build.sh @@ -1,7 +1,8 @@ #!/bin/bash -../ctc main.tnsl tnslc.asm -nasm -f elf64 -o tnslc.o tnslc.asm -gcc -o tnslc tnslc.o +mkdir -p out +../ctc main.tnsl out/tnslc.asm +nasm -f elf64 -o out/tnslc.o out/tnslc.asm +gcc -o out/tnslc out/tnslc.o # rm tnslc.asm tnslc.o |