code: libextents

ref: 7b55de41c328b9ec8222ab3a9f2fd407e4ca2c59
dir: /mkfile/

View raw version
</$objtype/mkfile

P=extent

LIB=lib$P.$O.a
OFILES=$P.$O
HFILES=/sys/include/$P.h

</sys/src/cmd/mksyslib

install:V:	$LIB
	cp $LIB /$objtype/lib/lib$P.a
	cp $P.h /sys/include/$P.h

uninstall:V:
	rm -f /$objtype/lib/lib$P.a /sys/include/$P.h

$O.%:	%.$O $OFILES $LIB $TESTLIB
	$LD $LDFLAGS -o $target $prereq

$O.testextents: extents.$O testextents.$O
	$LD $LDFLAGS -o $target $prereq