summaryrefslogtreecommitdiff
path: root/tnslc/build.sh
blob: a12ad5ba0f59ffe08c701464d70dfd8eb56b8536 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

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