From f80bb4fd79f27210b606966c421ff3104ad0c959 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Fri, 15 Mar 2024 17:28:48 -0400 Subject: Build script --- tnslc/build.sh | 7 ++++--- 1 file 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 -- cgit v1.2.3