# Makefile for /usr/local/bin/which

CC		= gcc -v -z -Wall -Ig:/gnu/gcc/include -Lg:/gnu/gcc/lib
LIBS		= -liio

which.ttp:	which5.c
		$(CC) -O which5.c -o which.ttp $(LIBS)
		fixstk 8K which.ttp
		xstrip which.ttp

install:	which.ttp
		/bin/mv -f which.ttp e:/local/bin

doc:
		nroff -manx -T -rO1 which.man >which.1
