summaryrefslogtreecommitdiff
path: root/tnslc/build.sh
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-03-13 08:00:33 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-03-13 08:00:33 -0400
commit392984c0cf53fff4a64bc74e3f32ccba4c93dba8 (patch)
treee09d18b75f423f55fa6474f385888a976682cb8a /tnslc/build.sh
parentc778683318d4f6fe7d23f4af5f768fdddec596c1 (diff)
port c_wrap from old proj
Diffstat (limited to 'tnslc/build.sh')
-rwxr-xr-xtnslc/build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tnslc/build.sh b/tnslc/build.sh
new file mode 100755
index 0000000..b492dcd
--- /dev/null
+++ b/tnslc/build.sh
@@ -0,0 +1,7 @@
+#!/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
+