#!/bin/sh
showpwd=
until [ -f Makefile ]; do
pre=`basename \`pwd\``/$pre
cd ..
showpwd=1
done
if [ ! -z $showpwd ]; then
echo cd `pwd`
fi
if [ $# -gt 0 ]; then
until [ $# -eq 0 ]; do
tar="$tar $pre$1"
shift
exec make $tar
else
exec make