#
# $Id: Makefile,v 1.1 2003/03/09 07:33:54 mavetju Exp $
#

all: iptool iptool.8

iptool: iptool.c
	gcc -o iptool iptool.c -I/usr/local/include -L/usr/local/lib -lgdbm

iptool.8: iptool.pod
	pod2man --release="March 8th, 2003" --date="March 8th, 2003" --center="Additional commands" --section=8 iptool.pod > iptool.8

install: iptool iptool.8
	cp iptool /usr/local/bin
	cp iptool.8 /usr/local/man/man8
