shithub: mcfs

ref: 49dc43fd64bb77001494be6721380895f1bba971
dir: /mkfile/

View raw version
</$objtype/mkfile
MAN=/sys/man/1

TARG=mcfs
BIN=/$objtype/bin

OFILES=\
	aac.$O\
	ass.$O\
	crc32.$O\
	ebml.$O\
	iso.$O\
	ivf.$O\
	main.$O\
	matroska.$O\
	ogg.$O\
	srt.$O\

HFILES=\
	common.h\
	ebml.h\
	packet.h\

default:V: all

./extra/%:
	cd extra
	mk $stem

</sys/src/cmd/mkone

SAMPLES=../matroska-test-files/test_files

test:V: $O.out ./extra/$O.mkvdump
	test -d $SAMPLES
	for(f in $SAMPLES/*.mkv){
		echo $f
		./$O.out $f
		./extra/$O.mkvdump $f >/dev/null
	}