~ft/mcfs

ref: 49dc43fd64bb77001494be6721380895f1bba971 mcfs/mkfile -rw-r--r-- 466 bytes
49dc43fd — Sigrid Solveig Haflínudóttir matroska: handle av1 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
</$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
	}