summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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