comparison compile @ 148:5071d601fe70

Fix small bug in compile script
author Mike Pavone <pavone@retrodev.com>
date Fri, 09 Aug 2013 05:28:07 -0700
parents 7f635666c73d
children cba0cb39517a
comparison
equal deleted inserted replaced
147:4c96a393103e 148:5071d601fe70
11 if test ! -s "$cname"; then 11 if test ! -s "$cname"; then
12 echo "Compilation to C failed" 12 echo "Compilation to C failed"
13 exit 1 13 exit 1
14 fi 14 fi
15 15
16 bin=`echo $1 | sed s/\.tp//` 16 bin=`echo $1 | sed 's/\.tp//'`
17 shift 17 shift
18 echo gcc $@ -o $bin $cname runtime/object.c -lgc
18 gcc $@ -o $bin $cname runtime/object.c -lgc 19 gcc $@ -o $bin $cname runtime/object.c -lgc