#!/bin/bash
# usage:
#   gmfmake map.gmf
#
# copy all Glopus KAL+Bitmap tiles from current directory into map.gmf

if [ $# -ne 1 ]; then
  echo "usage: gmfmake map.gmf"
  exit
fi

cat *.kal | gmf-generate . "$1"
