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