date
if test -f makefile
then
	:
else
	cp makefile.std makefile
fi
CEM="${CEM-acc}"
RUN="${RUN-}"
export CEM RUN
echo "Compilation command: $CEM"
case $RUN in
?*)
	echo "Run command: $RUN"
	;;
esac
for A in ct*
do (
        echo "***** $A"
        cd "$A"
        if test -r run ; then
                sh run "${1-gen}"
        else
                echo "No run file present"
        fi
   )
done
date
