Mercurial > mplayer.hg
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 |
rev | line source |
---|---|
3407 | 1 |
2 LIBNAME = liba52.a | |
3 | |
4 include ../config.mak | |
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 | 15 OBJS = $(SRCS:.c=.o) |
16 | |
17101 | 17 CFLAGS = $(MLIB_INC) $(OPTFLAGS) -I.. |
3407 | 18 |
19 .SUFFIXES: .c .o | |
20 | |
21 # .PHONY: all clean | |
22 | |
23 .c.o: | |
24 $(CC) -c $(CFLAGS) -o $@ $< | |
25 | |
26 $(LIBNAME): $(OBJS) | |
27 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 28 $(RANLIB) $(LIBNAME) |
3407 | 29 |
30 test: $(LIBNAME) test.c | |
12966 | 31 $(CC) $(CFLAGS) test.c ../cpudetect.c -o test ../osdep/libosdep.a ./liba52.a -lm |
3407 | 32 |
33 test2: $(LIBNAME) test.c | |
7148 | 34 $(CC) $(CFLAGS) test.c -o test2 ../libac3/libac3.a ./liba52.a -lm |
3407 | 35 |
36 all: $(LIBNAME) | |
37 | |
38 clean: | |
39 rm -f *.o *.a *~ | |
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 | 43 |
44 dep: depend | |
45 | |
46 depend: | |
47 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
48 | |
49 # | |
50 # include dependency files if they exist | |
51 # | |
52 ifneq ($(wildcard .depend),) | |
53 include .depend | |
54 endif |