#Copyright 1987 by Rensselaer Polytechnic Institute
#
#Permission to use, copy, modify, and distribute this
#software and its documentation for any purpose and without
#fee is hereby granted, provided that the above copyright
#notice appear in all copies and that both that copyright
#notice and this permission notice appear in supporting
#documentation, and that the name of RPI not be used in
#advertising or publicity pertaining to distribution of the
#software without specific, written prior permission.
#RPI makes no representations about the suitability of
#this software for any purpose.  It is provided "as is"
#without express or implied warranty.
#
OBJS=		sgmproute.o createreq.o
O=		-O
CFLAGS=		$O -I../../h

sgmproute: sgmproute.o createreq.o
	cc $(CFLAGS) -o sgmproute sgmproute.o createreq.o -lsgmp -lresolv -lBSD

install: sgmproute
	cp sgmproute /usr/local/sgmproute

clean:
	/bin/rm $(OBJS) sgmproute

sgmproute.o: sgmproute.c

createreq.o: createreq.c

