# $Copyright:	$
# Copyright (c) 1984, 1985 Sequent Computer Systems, Inc.
# All rights reserved
#  
# This software is furnished under a license and may be used
# only in accordance with the terms of that license and with the
# inclusion of the above copyright notice.   This software may not
# be provided or otherwise made available to, or used by, any
# other person.  No title to or ownership of the software is
# hereby transferred.

# $Header: Makefile 2.0 86/01/28 $
#
CFLAGS=	-O ${INCLUDE}
#

FILES=	fed.c fed.h io.c subr.c
OBJS=	fed.o subr.o io.o
FLIBS=	-lm -l2648
VGRIND=	csh /usr/ucb/vgrind

all:	fed

fed:	${OBJS}
	${CC} -o fed ${OBJS} ${FLIBS}

tags:	FRC
	ctags ${FILES}

FRC:

print:
	print ${FILES}

vgrind:
	tee index < /dev/null
	${VGRIND} -h fed ${FILES}
	${VGRIND} -x index

lint:
	lint ${FILES} > lint.out

clean:
	rm -f fed ${OBJS} errs core trace

install:
	install -s fed ${DESTDIR}/usr/ucb/fed
