annotate liba52/Makefile @ 18667:495142cba779

support for vorbis in mp4/mov
author nicodvb
date Fri, 09 Jun 2006 21:30:06 +0000
parents c127ce678083
children 4bad7f00556e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3407
arpi
parents:
diff changeset
1
arpi
parents:
diff changeset
2 LIBNAME = liba52.a
arpi
parents:
diff changeset
3
arpi
parents:
diff changeset
4 include ../config.mak
arpi
parents:
diff changeset
5
17943
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
6 SRCS = crc.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
7 resample.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
8 bit_allocate.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
9 bitstream.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
10 downmix.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
11 imdct.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
12 imdct_mlib.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
13 parse.c \
c127ce678083 cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents: 17488
diff changeset
14
3407
arpi
parents:
diff changeset
15 OBJS = $(SRCS:.c=.o)
arpi
parents:
diff changeset
16
17101
16b1de65666b add missing -I..
rathann
parents: 12966
diff changeset
17 CFLAGS = $(MLIB_INC) $(OPTFLAGS) -I..
3407
arpi
parents:
diff changeset
18
arpi
parents:
diff changeset
19 .SUFFIXES: .c .o
arpi
parents:
diff changeset
20
arpi
parents:
diff changeset
21 # .PHONY: all clean
arpi
parents:
diff changeset
22
arpi
parents:
diff changeset
23 .c.o:
arpi
parents:
diff changeset
24 $(CC) -c $(CFLAGS) -o $@ $<
arpi
parents:
diff changeset
25
arpi
parents:
diff changeset
26 $(LIBNAME): $(OBJS)
arpi
parents:
diff changeset
27 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 10572
diff changeset
28 $(RANLIB) $(LIBNAME)
3407
arpi
parents:
diff changeset
29
arpi
parents:
diff changeset
30 test: $(LIBNAME) test.c
12966
4e7d8679d6d8 compilation fix for test program
reimar
parents: 12632
diff changeset
31 $(CC) $(CFLAGS) test.c ../cpudetect.c -o test ../osdep/libosdep.a ./liba52.a -lm
3407
arpi
parents:
diff changeset
32
arpi
parents:
diff changeset
33 test2: $(LIBNAME) test.c
7148
d48db6256efb use dir/libname.a instead of -Ldir -lname
arpi
parents: 3890
diff changeset
34 $(CC) $(CFLAGS) test.c -o test2 ../libac3/libac3.a ./liba52.a -lm
3407
arpi
parents:
diff changeset
35
arpi
parents:
diff changeset
36 all: $(LIBNAME)
arpi
parents:
diff changeset
37
arpi
parents:
diff changeset
38 clean:
arpi
parents:
diff changeset
39 rm -f *.o *.a *~
arpi
parents:
diff changeset
40
17488
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17101
diff changeset
41 distclean: clean
ce1ba8fd57e7 Make clean/distclean behave uniformly in all directories.
diego
parents: 17101
diff changeset
42 rm -f .depend test
3407
arpi
parents:
diff changeset
43
arpi
parents:
diff changeset
44 dep: depend
arpi
parents:
diff changeset
45
arpi
parents:
diff changeset
46 depend:
arpi
parents:
diff changeset
47 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
arpi
parents:
diff changeset
48
arpi
parents:
diff changeset
49 #
arpi
parents:
diff changeset
50 # include dependency files if they exist
arpi
parents:
diff changeset
51 #
arpi
parents:
diff changeset
52 ifneq ($(wildcard .depend),)
arpi
parents:
diff changeset
53 include .depend
arpi
parents:
diff changeset
54 endif