@ -0,0 +1,17 @@
#!/bin/sh
OUTPUT=
for COPTIM in -O0 -O1 -O2 -O3 -Os
do
make clean
make COPTIM=$COPTIM
SIZE=`ls -l quad.bin | awk '{ print \$5 }'`
LINE="$COPTIM: $SIZE"
OUTPUT="$OUTPUT $LINE"
done
echo $OUTPUT