fast drag/drop rework, modify labels in mwin->cwin locks, mods to cut/paste, marks...
[goodguy/cinelerra.git] / cinelerra-5.1 / mpeg2enc / Makefile.wat
1 # Makefile for mpeg2encode (user contribution, untested)
2 #
3 # WATCOM C/386++
4 #
5 INC      = C:\OR386\INCLUDE
6
7 LINKFILE = temp.lnk
8 CC = WCC386P
9 LL = WLINKP system dos4g
10
11 !ifdef DEBUG
12 CFLAGS = -w4 -zq -4r -d2 -I$(INC)
13 !else
14 CFLAGS = -w4 -zq -4r -oaxt -I$(INC)
15 !endif
16
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 
20 ratectl.obj stats.obj
21
22 mpeg2enc.exe: $(OBJ)
23         %create $(LINKFILE)
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
30         $(LL) @$(LINKFILE)
31
32 conform.obj: conform.c config.h mpeg2enc.h global.h
33        $(CC) $(CFLAGS) $*.c
34
35 fdctref.obj: fdctref.c config.h
36        $(CC) $(CFLAGS) $*.c
37
38 idct.obj: idct.c config.h
39        $(CC) $(CFLAGS) $*.c
40
41 motion.obj: motion.c config.h mpeg2enc.h global.h
42        $(CC) $(CFLAGS) $*.c
43
44 mpeg2enc.obj: mpeg2enc.c config.h mpeg2enc.h global.h
45        $(CC) $(CFLAGS) $*.c
46
47 predict.obj: predict.c config.h mpeg2enc.h global.h
48        $(CC) $(CFLAGS) $*.c
49
50 putbits.obj: putbits.c config.h
51        $(CC) $(CFLAGS) $*.c
52
53 puthdr.obj: puthdr.c config.h mpeg2enc.h global.h
54        $(CC) $(CFLAGS) $*.c
55
56 putmpg.obj: putmpg.c config.h mpeg2enc.h global.h
57        $(CC) $(CFLAGS) $*.c
58
59 putpic.obj: putpic.c config.h mpeg2enc.h global.h
60        $(CC) $(CFLAGS) $*.c
61
62 putseq.obj: putseq.c config.h mpeg2enc.h global.h
63        $(CC) $(CFLAGS) $*.c
64
65 putvlc.obj: putvlc.c config.h mpeg2enc.h global.h vlc.h
66        $(CC) $(CFLAGS) $*.c
67
68 quantize.obj: quantize.c config.h mpeg2enc.h global.h
69        $(CC) $(CFLAGS) $*.c
70
71 ratectl.obj: ratectl.c config.h mpeg2enc.h global.h
72        $(CC) $(CFLAGS) $*.c
73
74 readpic.obj: readpic.c config.h mpeg2enc.h global.h
75        $(CC) $(CFLAGS) $*.c
76
77 stats.obj: stats.c config.h mpeg2enc.h global.h
78        $(CC) $(CFLAGS) $*.c
79
80 transfrm.obj: transfrm.c config.h mpeg2enc.h global.h
81        $(CC) $(CFLAGS) $*.c
82
83 writepic.obj: writepic.c config.h mpeg2enc.h global.h
84        $(CC) $(CFLAGS) $*.c
85