#!/bin/bash

function check_okay {
	if [ $? -ne 0 ]
	then
		exit 1
	fi
}

function do_one {
	cd $1
	check_okay
	echo "make" $1
  ./clean
  check_okay
  ./mk > mk.txt
	check_okay
	cd ..
}

date
source do1_test_source
echo ""
date
