Quadrotor from scratch
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
214 B

#!/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
make clean
echo $OUTPUT