#
# Makefile for dbxurl. Not nifty, but works. 
#
# $Id: Makefile,v 1.2 2002/03/02 16:44:01 henk Exp $
#
all: dbxurl

dbxurl: dbxurl.o esc.o fail.o getoptions.o
	cc -Wall dbxurl.o esc.o fail.o getoptions.o -o dbxurl
	strip dbxurl

dbxurl.o: dbxurl.c dbxurl.h
	cc -Wall -c dbxurl.c

esc.o: esc.c dbxurl.h
	cc -Wall -c esc.c

getoptions.o: getoptions.c dbxurl.h
	cc -Wall -c getoptions.c 

fail.o: fail.c
	cc -Wall -c fail.c

clean:
	rm -f dbxurl.tgz dbxurl.o esc.o fail.o getoptions.o dbxurl

tgz:	clean
	( cd ..; tar zc --exclude dbxurl.tgz --exclude CVS -f dbxurl.tgz  * )
