diff options
Diffstat (limited to 'tnslc/build.sh')
-rwxr-xr-x | tnslc/build.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tnslc/build.sh b/tnslc/build.sh index b492dcd..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 -rm tnslc.asm 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 |