#!/bin/bash
./yagl.native -c "${1}.ygl" > "${1}.ll"
llc -relocation-model=pic "${1}.ll" > "${1}.s"
cc -c stdlib.c
cc -o "${1}.exe" "${1}.s" stdlib.o
"./${1}.exe"
rm stdlib.o
