BIN=/usr/local/bin
MAN=/usr/local/man/man1
PROG=pt

# it's really rude, but if i don't say this, it 
# assumes your current shell on some systems.
# how brain dead can you get?
SHELL=/bin/sh

${PROG}: ${PROG}.pl Configure
	@perl Configure < ${PROG}.pl > test${PROG}
	@mv test${PROG} ${PROG}
	@chmod +x ${PROG}

test: ${PROG}
	@perl Test

install: test
	perl Install ${MAN} ${BIN} 

clean:
	rm -f ${PROG} core test getwin.c a.out

shar: 
	shar pt.pl pt.1  README Makefile Configure Test Install > pt.shar
