1 # Makefile for mpeg2encode (user contribution, untested)
9 LL = WLINKP system dos4g
12 CFLAGS = -w4 -zq -4r -d2 -I$(INC)
14 CFLAGS = -w4 -zq -4r -oaxt -I$(INC)
17 OBJ = mpeg2enc.obj conform.obj putseq.obj putpic.obj puthdr.obj putmpg.obj
18 putvlc.obj putbits.obj motion.obj predict.obj readpic.obj
19 writepic.obj transfrm.obj fdctref.obj idct.obj quantize.obj
24 %append $(LINKFILE) debug all
25 %append $(LINKFILE) opt stack=32000
26 %append $(LINKFILE) opt caseexact
27 %append $(LINKFILE) opt map=$^&.MAP
28 %append $(LINKFILE) NAME $^&
29 for %i in ($(OBJ)) do %append $(LINKFILE) FILE %i
32 conform.obj: conform.c config.h mpeg2enc.h global.h
35 fdctref.obj: fdctref.c config.h
38 idct.obj: idct.c config.h
41 motion.obj: motion.c config.h mpeg2enc.h global.h
44 mpeg2enc.obj: mpeg2enc.c config.h mpeg2enc.h global.h
47 predict.obj: predict.c config.h mpeg2enc.h global.h
50 putbits.obj: putbits.c config.h
53 puthdr.obj: puthdr.c config.h mpeg2enc.h global.h
56 putmpg.obj: putmpg.c config.h mpeg2enc.h global.h
59 putpic.obj: putpic.c config.h mpeg2enc.h global.h
62 putseq.obj: putseq.c config.h mpeg2enc.h global.h
65 putvlc.obj: putvlc.c config.h mpeg2enc.h global.h vlc.h
68 quantize.obj: quantize.c config.h mpeg2enc.h global.h
71 ratectl.obj: ratectl.c config.h mpeg2enc.h global.h
74 readpic.obj: readpic.c config.h mpeg2enc.h global.h
77 stats.obj: stats.c config.h mpeg2enc.h global.h
80 transfrm.obj: transfrm.c config.h mpeg2enc.h global.h
83 writepic.obj: writepic.c config.h mpeg2enc.h global.h