<$PLAN9/src/mkhdr

<../config
TARG=psdownload

OFILES=download.$O

COMMONDIR=../common

HFILES=download.h\
	$COMMONDIR/comments.h\
	$COMMONDIR/gen.h\
	$COMMONDIR/path.h\
	$COMMONDIR/ext.h\

LIB=$COMMONDIR/libcom.a
BIN=$POSTBIN

<$PLAN9/src/mkone
CFLAGS=-Dplan9 -I$COMMONDIR

$LIB:
	cd $COMMONDIR
	mk install
	mk clean
