aboutsummaryrefslogtreecommitdiff
path: root/compile.sh
blob: 216a4663bb1951b35ced238b8dd9ec408942087a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
build/unix.bin -c $1
if [[ $? != 0 ]]
then
    exit
fi
build/unix.bin -t a.out
if [[ $? != 0 ]]
then
    exit
fi
cc a.c -Wall -lm -g -Og