#! /bin/sh

# generate makefile to make all character mapping tables

echo all: `echo charmaps/*.map | sed -e "s,\.map,.o,g"`
echo

for map in charmaps/*.map
do	echo charmaps/`basename $map .map`.o: $map mkchrtab charmaps.h
	echo "	CC=\$(CC) ./mkchrtab $map"
	echo
done
