7 rm -f cpucycles.o cpucycles.h
19 echo "=== `date` === Trying $n.c with $c..." >&2
20 rm -f test cpucycles-impl.o cpucycles-impl.h cpucycles-impl.c
21 cp $n.c cpucycles-impl.c ||
continue
22 cp $n.h cpucycles-impl.h ||
continue
23 $c -c cpucycles-impl.c ||
continue
24 $c -o test test.c cpucycles-impl.o ||
continue
25 echo "=== `date` === Success. Using $n.c." >&2
27 mv cpucycles-impl.o lib
/$abi/cpucycles.o
29 mv cpucycles-impl.h include
/$abi/cpucycles.h
37 echo ===== Giving up.
>&2
38 rm -f test cpucycles-impl.o cpucycles-impl.h cpucycles-impl.c