#!/bin/dash export PATH=$PATH:/bin:/usr/bin vdir=`dirname $1` target=$vdir/main /usr/bin/g++ -Wall -O2 -o $target $1 -lm shift exec "$vdir/main" "$@"