annotate libmpcodecs/Makefile @ 4976:0780634e64b5

direct rendering can be disabled -vaa_nodr
author arpi
date Thu, 07 Mar 2002 13:09:10 +0000
parents db86fcf25ede
children f412b0110524
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
1
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
2 include ../config.mak
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
3
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
4 LIBNAME = libmpcodecs.a
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
5
4969
db86fcf25ede xanim, raw, rle added
arpi
parents: 4968
diff changeset
6 SRCS=dec_video.c vd.c vd_null.c vd_cinepak.c vd_qtrpza.c vd_ffmpeg.c vd_dshow.c vd_vfw.c vd_odivx.c vd_divx4.c vd_raw.c vd_xanim.c vd_rle.c
4878
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
7
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
8 OBJS=$(SRCS:.c=.o)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
9
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
10 CFLAGS = -Wall $(OPTFLAGS) -I. -I.. -I../libmpdemux -I../loader $(EXTRA_INC)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
11
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
12 .SUFFIXES: .c .o
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
13
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
14 # .PHONY: all clean
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
15
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
16 .c.o:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
17 $(CC) -c $(CFLAGS) -o $@ $<
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
18
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
19 $(LIBNAME): $(OBJS)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
20 $(AR) r $(LIBNAME) $(OBJS)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
21
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
22 all: $(LIBNAME)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
23
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
24 clean:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
25 rm -f *.o *.a *~
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
26
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
27 distclean:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
28 rm -f Makefile.bak *.o *.a *~ .depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
29
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
30 dep: depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
31
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
32 depend:
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
33 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
34
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
35 #
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
36 # include dependency files if they exist
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
37 #
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
38 ifneq ($(wildcard .depend),)
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
39 include .depend
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
40 endif
eff8a76e515f libmpcodecs core - initial version
arpi
parents:
diff changeset
41