#!/bin/sh
# If you use Cygwin 32, this script build all sample under this directory.
# example)
#    ./mkall dist-clean :Remove all object and sub-command files.
#    ./mkall :Build all samples, contained makefile.
# Enjoy.
echo ""
for i in `/bin/find . -type d -print` 
do
if [ -r "$i/Makefile" ]; then
echo "Making in $i...."
( cd $i ; nmake $1 )
fi
if [ -r "$i/makefile" ]; then
echo "making in $i..."
( cd $i ; nmake $1 )
fi
done
 
