CC = gcc -g
OPT= -O
CFLAGS=	-I/usr/src/local/sbin/mrouted ${OPT}
SRCS = mrmap.c

all: mrmap

mrmap: mrmap.o
	rm -f $@ ; \
	${CC} -o $@ ${CFLAGS} mrmap.o

clean: FRC
	rm -f *.o core core.mrmap tags TAGS

tar:	mrmap.tar.Z

mrmap.tar.Z:	all
	rm -f mrmap.tar mrmap.tar.Z
	tar cf mrmap.tar README Makefile mrmap.c mrmap.man mrmap \
		mergemaps comparemaps
	compress mrmap.tar

depend: FRC
	mkdep ${CFLAGS} ${SRCS}

lint: FRC
	lint ${LINTFLAGS} ${SRCS}

tags: FRC
	ctags -tdw ${SRCS}

FRC:

# DO NOT DELETE THIS LINE -- mkdep uses it.
