summaryrefslogtreecommitdiff
path: root/tnslc
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-03-15 17:28:48 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-03-15 17:28:48 -0400
commitf80bb4fd79f27210b606966c421ff3104ad0c959 (patch)
tree0a842f8586417cd5564073c15e7056f128eefa6f /tnslc
parent7b009880ad7a4182d3fa8d84468526d0d30d8844 (diff)
Build script
Diffstat (limited to 'tnslc')
-rwxr-xr-xtnslc/build.sh7
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