V10/sys/fs/lccmkfile

CFLAGS=-I.. -I/usr/include -DKERNEL $gflag
L=../lib/lccfs.a
FILES=\
	$L(fs.x) $L(fsnami.x) $L(alloc.x) \
	$L(neta.x) $L(proca.x) $L(ms.x) $L(netb.x) \
	$L(errfs.x) $L(pipe.x)

$L: $FILES
	names=`membername $newprereq`
	ar r $L $names && rm $names
	ranlib $L
$L(%):N: %
%.x: %.c
	lcc $CFLAGS -S $stem.c
	 sed -f ../lib/lccasm.sed <$stem.s | as -o $stem.x
	rm $stem.s