</$objtype/mkfile

OFILES=\
	misc.$O			\
	torrent.$O		\
	torrentfile.$O	\
	comm.$O 		\
	fs.$O	 		\
	main.$O		

default:V:
	mk btfs
	mk tidy

%.$O:	%.c 
		$CC $CFLAGS $stem.c

btfs:	$OFILES
		$LD $LDFLAGS -o btfs $OFILES

clean:V:
	rm btfs *.$O
	rm -rf ../torrents/*

tidy:V:
	broke | rc
	kill btfs | rc

