shithub: 9bench

ref: 6de29815680c706b227997cd27ea4fa1ae6e6540
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