Mercurial > mplayer.hg
annotate liba52/Makefile @ 19067:920a210b7fdc
little rephrasing and corrected reference to main->trunk
author | reynaldo |
---|---|
date | Thu, 13 Jul 2006 21:06:33 +0000 |
parents | 4bad7f00556e |
children | 4f71ed7cb512 |
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 parse.c \ |
c127ce678083
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
diego
parents:
17488
diff
changeset
|
13 |
3407 | 14 OBJS = $(SRCS:.c=.o) |
15 | |
18720
4bad7f00556e
sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
rathann
parents:
17943
diff
changeset
|
16 CFLAGS = $(OPTFLAGS) -I.. |
3407 | 17 |
18 .SUFFIXES: .c .o | |
19 | |
20 # .PHONY: all clean | |
21 | |
22 .c.o: | |
23 $(CC) -c $(CFLAGS) -o $@ $< | |
24 | |
25 $(LIBNAME): $(OBJS) | |
26 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 27 $(RANLIB) $(LIBNAME) |
3407 | 28 |
29 test: $(LIBNAME) test.c | |
12966 | 30 $(CC) $(CFLAGS) test.c ../cpudetect.c -o test ../osdep/libosdep.a ./liba52.a -lm |
3407 | 31 |
32 test2: $(LIBNAME) test.c | |
7148 | 33 $(CC) $(CFLAGS) test.c -o test2 ../libac3/libac3.a ./liba52.a -lm |
3407 | 34 |
35 all: $(LIBNAME) | |
36 | |
37 clean: | |
38 rm -f *.o *.a *~ | |
39 | |
17488
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17101
diff
changeset
|
40 distclean: clean |
ce1ba8fd57e7
Make clean/distclean behave uniformly in all directories.
diego
parents:
17101
diff
changeset
|
41 rm -f .depend test |
3407 | 42 |
43 dep: depend | |
44 | |
45 depend: | |
46 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
47 | |
48 # | |
49 # include dependency files if they exist | |
50 # | |
51 ifneq ($(wildcard .depend),) | |
52 include .depend | |
53 endif |