# /usr/src/usr.bin/f77/fpr/Makefile for MacMach

include /usr/src/COPYRIGHTS

CFLAGS=	-O
LIBC=	/lib/libc.a
SRCS=	fpr.c
OBJS=	fpr.o

all:	.depend fpr

fpr:	${SRCS} ${LIBC}
	${CC} -o $@ ${CFLAGS} ${SRCS}

install: FRC
	install -s -o bin -g bin -m 755 fpr ${DESTDIR}/usr/ucb/fpr

clean:	FRC
	rm -f .depend ${OBJS} core fpr

compress: clean
	find . -type f ! -name Makefile ! -name '*.Z' -exec compress {} \;

uncompress: FRC
	find . -type f ! -name Makefile -name '*.Z' -exec uncompress {} \;

.depend: ${SRCS}
	@echo "#`date`" >.depend
	mkdep -p -f .depend ${CFLAGS} ${SRCS}

-include .depend

FRC:
