shithub: mcfs

ref: 74533c8ff1ab84ff0949d52c3726ccfcfc1bf76a
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
	}