#!/bin/sh
for i in icon/*.png; do
	NAME=`echo $i | sed 's/^icon\///' | sed 's/\.png$//'`
	echo '#include <midas.h>' > src/icon/$NAME.c
	echo "" >> src/icon/$NAME.c
	../milsko/tools/icon-converter $i icon_$NAME >> src/icon/$NAME.c
done
