Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_unix/sys/src/games/mp3enc/mkfile – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
</$objtype/mkfile
2
 
3
TARG=mp3enc
4
OFILES=\
5
	VbrTag.$O\
6
	bitstream.$O\
7
	encoder.$O\
8
	fft.$O\
9
	get_audio.$O\
10
	id3tag.$O\
11
	lame.$O\
12
	lametime.$O\
13
	main.$O\
14
	mpglib_interface.$O\
15
	newmdct.$O\
16
	parse.$O\
17
	pcm.$O\
18
	portableio.$O\
19
	psymodel.$O\
20
	quantize.$O\
21
	quantize_pvt.$O\
22
	reservoir.$O\
23
	set_get.$O\
24
	tables.$O\
25
	takehiro.$O\
26
	timestatus.$O\
27
	tools.$O\
28
	util.$O\
29
	vbrquantize.$O\
30
	version.$O\
31
	vorbis_interface.$O\
32
 
33
BIN=/$objtype/bin/games
34
# need a way to ignore this on non-386en
35
# LIB=/$objtype/lib/lib387.a
36
</sys/src/cmd/mkone
37
 
38
CC=pcc
39
CFLAGS=\
40
	-I.\
41
	-D_POSIX_SOURCE\
42
	-DSTDC_HEADERS\
43
	-DUSE_LAYER_1\
44
	-DUSE_LAYER_2\
45
	-D'CHAR_BIT=8'\
46
	-D'SIZEOF_DOUBLE=8'\
47
	-D'SIZEOF_FLOAT=4'\
48
	-D'SIZEOF_INT=4'\
49
	-D'SIZEOF_LONG=4'\
50
	-D'SIZEOF_LONG_DOUBLE=8'\
51
	-D'SIZEOF_LONG_LONG=8'\
52
	-D'SIZEOF_SHORT=2'\
53
	-D'SIZEOF_UNSIGNED_INT=4'\
54
	-D'SIZEOF_UNSIGNED_LONG=4'\
55
	-D'SIZEOF_UNSIGNED_LONG_LONG=8'\
56
	-D'SIZEOF_UNSIGNED_SHORT=2'\
57
	-+ -c
58
LDFLAGS= # -p
59
 
60
testcase.new.mp3: testcase.wav $O.out
61
	$O.out --nores -h testcase.wav testcase.new.mp3
62
 
63
test:V: testcase.new.mp3
64
	cmp -l testcase.new.mp3 testcase.mp3 | wc -l
65
	rm testcase.new.mp3