shithub: mcfs

ref: 7996b424b3ec858adcf6507c424bc5e06773e3fa
dir: /mkfile/

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

TARG=mcfs
BIN=/$objtype/bin

OFILES=\
	aac.$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
	}