summaryrefslogtreecommitdiff
path: root/tnslc/build.sh
diff options
context:
space:
mode:
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
+