#       @(#)Makefile    0.0 (Julian H. Stacey) 94 01 06

SUBDIR =
SUBDIR += fritz

THING=	phone
PROG=   ${THING}
SRCS=   ${THING}.c person.h

all:	index.html

install:	install.normal install.script
install.normal:
	@# These 2 come from normal macros if no 'install:' defined.
	install -s -o root -g wheel -m 555   ${THING} /usr/local/bin
	install -o root -g wheel -m 444 ${THING}.1.gz  /usr/local/man/man1

install.script:
	install ${.CURDIR}/${THING}_reverse /usr/local/bin/${THING}_reverse

clean:
	@true   # Avoid index.html being deleted.
	rm -f ${THING} ${THING}.o ${THING}.1.gz

cleanmore:
	rm -f .depend.phone.o .depend

.include <bsd.prog.mk>
.include <berklix.mk>   # Needed to support recursive make html from above.
