pdp11v/usr/src/cmd/vi/makevi

# @(#) makevi 1.6@(#)
#
type="`uname -m`"
#
if [ ! -f done.$type ]
	then rm -fr misc/fold misc/mkstr misc/xstr
	> done.$type
fi
case $type in
	pdp11-70 | vax-780 | 370 | 3B-20S | c70 )
		type=`echo $type | sed -e 's/.*-//p'`
	 	src="src$type"
		;;
	*     )  echo "Sorry, vi may not work on your system"
		exit
		;;
esac

make -f vi.mk all $src
make -f vi.mk clean