# $Id: Makefile.in,v 1.1.1.2 1997/12/29 05:25:07 svalente Exp $

SHELL=/bin/sh
VPATH=@srcdir@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
srcdir=@srcdir@
top_srcdir=@top_srcdir@
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
mandir=@mandir@

CC=@CC@
CPPFLAGS=@CPPFLAGS@
CFLAGS=@CFLAGS@
LDFLAGS=@LDFLAGS@
LIBS=@LIBS@
ALL_CFLAGS=${CPPFLAGS} ${CFLAGS}

all: rep

rep: rep.o
	${CC} ${LDFLAGS} -o rep rep.o ${LIBS}

.c.o:
	${CC} -c ${ALL_CFLAGS} $<

check:

install:
	${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
	${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
	${INSTALL_PROGRAM} -m 555 rep ${DESTDIR}${bindir}/rep
	${INSTALL} -m 444 ${srcdir}/rep.1 ${DESTDIR}${mandir}/man1

clean:
	rm -f rep.o rep

distclean: clean
	rm -f config.cache config.log config.status Makefile
