all:	udppasswd deception coredump thttpd mantra md5 # announce # generic
	chmod 755 udppasswd deception coredump thttpd mantra md5  # announce

mantra:	mantra.c
	cc -o mantra mantra.c

md5:	md5dir/*
	(cd md5dir;make;cp md5 ..)

udppasswd:	udppasswd.c
	cc -o udppasswd udppasswd.c

generic:	generic.c
	cc -O -o generic generic.c

announce:	announce.c
	cc -O -o announce announce.c

deception:	deception.c
	cc -O -o deception deception.c

coredump:	coredump.c
	cc -o coredump coredump.c

thttpd:	thttpd.c
	cc -O -o thttpd thttpd.c

clean:
	cleanup

html:	*.html
	cp *.html /u/fc/www/dtk
	cp ../*.html /u/fc/www/dtk
	cp ../19* /u/fc/www/dtk
	chmod 644 /u/fc/www/dtk/*

dist:
	make clean
	tar -cvf /u/fc/www/dtk/dtk.tar *
	chmod 644 /u/fc/www/dtk/*
	make html
	cp * /u/fc/src/dtk.old || echo "OK"
	exit 0
