cc -O -c $1.cpp
if [ $? -ne 0 ]
then
echo errors in compile
exit 1
fi
ar -rvs ../libvg.a $1.o
rm $1.o
