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