1
|
1
|
|
2 include config.mak
|
|
3
|
|
4 LIBNAME = libvo.a
|
|
5
|
|
6 SRCS=rgb15to16mmx.c yuv2rgb_mmx.c yuv2rgb.c video_out.c vo_null.c vo_pgm.c vo_md5.c vo_odivx.c $(OPTIONAL_SRCS)
|
|
7 OBJS=rgb15to16mmx.o yuv2rgb_mmx.o yuv2rgb.o video_out.o vo_null.o vo_pgm.o vo_md5.o vo_odivx.o $(OPTIONAL_OBJS)
|
|
8
|
|
9 CFLAGS = $(OPTFLAGS) -DMPG12PLAY
|
|
10 INCLUDE = -I. -I..
|
|
11 # -I/usr/X11R6/include/
|
|
12
|
|
13 .SUFFIXES: .c .o
|
|
14
|
|
15 # .PHONY: all clean
|
|
16
|
|
17 .c.o:
|
|
18 $(CC) -c $(CFLAGS) $(INCLUDE) -o $@ $<
|
|
19
|
|
20 $(LIBNAME): $(OBJS)
|
|
21 $(AR) r $(LIBNAME) $(OBJS)
|
|
22
|
|
23 all: $(LIBNAME)
|
|
24
|
|
25 clean:
|
|
26 rm -f *.o *.a *~
|
|
27
|
|
28 distclean:
|
|
29 makedepend
|
|
30 rm -f Makefile.bak *.o *.a *~
|
|
31
|
|
32 dep: depend
|
|
33
|
|
34 depend:
|
|
35 makedepend -- $(CFLAGS) -- $(SRCS) &> /dev/null
|
|
36
|
|
37 # DO NOT DELETE
|