shithub: 9bench

ref: 3df92bd8dd256de9b90fd12a4d63d8bf458f1b83
dir: /mkfile/

View raw version
</$objtype/mkfile

TARG=sysbench
OFILES=\
	run.$O\
	test.$O\

HFILES=\
	bench.h\

CLEANFILES=$O.test $O.true

</sys/src/cmd/mkone

%.$O:	%.c
	$CC -pFTVw $stem.c

install:V:	$LIB
	cp bench.h /sys/include/bench.h

bench:	$O.out $O.true
	$O.out

true.$O:	true.c
	$CC $CFLAGS true.c

$O.true:	true.$O
	$LD -o $target $prereq