#!/bin/bash

log="failures$$"
touch $log
for src in *.cc; do
    bin=`basename $src .cc`
    rm $bin
    if ! make $bin; then
	echo $src >> $log
    fi
done
