1#!/bin/bash 2shopt -s globstar 3gcov_data_dir="." 4for x in ./**/*.o; do 5 echo "x: $x" 6 gcov "$gcov_data_dir/$x" 7done 8