#!/bin/bash
# $Id: xise_msg_summary 830 2016-12-26 20:25:49Z mueller $
#
# Copyright 2016- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
# License disclaimer see License.txt in $RETROBASE directory
#
#  Revision History:
# Date         Rev  Vers    Comment
# 2016-06-05   772   1.0    Initial version
#

for f in `find -name "*.imfset" | sort`
do
  dnam=`dirname $f`
  bnam=`basename $f .imfset`
  echo ""
  echo "####################################################################"
  echo "### ${dnam}/${bnam} ###"
  pushd ${dnam} > /dev/null
  if [ ! -r ${bnam}_xst.log ]
  then
    echo No ${bnam}_xst.log available
  else
    make ${bnam}.mfsum
  fi
  popd > /dev/null
done
