blob: 8870c43280bc26bbc70dd94c2aba87c59eb7d344 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
TMP=/tmp/minic.s
SRC=$1
if [ -z "$SRC" ]; then
echo "usage: ./mcc file.c" 1>&2
exit 1
fi
./minic < $SRC > $TMP.ssa || exit 1
../lisc/lisc $TMP.ssa > $TMP || exit 1
cc -g $TMP
|