Mercurial > mplayer.hg
annotate libfaad2/Makefile @ 15927:fa2281c94e7e
make more patch-friendly
author | reimar |
---|---|
date | Wed, 06 Jul 2005 08:42:55 +0000 |
parents | 667c78f0fc60 |
children | ce1ba8fd57e7 |
rev | line source |
---|---|
10725 | 1 |
2 LIBNAME = libfaad2.a | |
3 | |
4 include ../config.mak | |
5 | |
15927 | 6 SRCS = bits.c \ |
7 cfft.c \ | |
8 common.c \ | |
9 decoder.c \ | |
10 drc.c \ | |
11 error.c \ | |
12 filtbank.c \ | |
13 hcr.c \ | |
14 huffman.c \ | |
15 ic_predict.c \ | |
16 is.c \ | |
17 lt_predict.c \ | |
18 mdct.c \ | |
19 mp4.c \ | |
20 ms.c \ | |
21 output.c \ | |
22 pns.c \ | |
23 ps_dec.c \ | |
24 ps_syntax.c \ | |
25 pulse.c \ | |
26 rvlc.c \ | |
27 sbr_dct.c \ | |
28 sbr_dec.c \ | |
29 sbr_e_nf.c \ | |
30 sbr_fbt.c \ | |
31 sbr_hfadj.c \ | |
32 sbr_hfgen.c \ | |
33 sbr_huff.c \ | |
34 sbr_qmf.c \ | |
35 sbr_syntax.c \ | |
36 sbr_tf_grid.c \ | |
37 specrec.c \ | |
38 ssr.c \ | |
39 ssr_fb.c \ | |
40 ssr_ipqf.c \ | |
41 syntax.c \ | |
42 tns.c \ | |
43 | |
10725 | 44 OBJS = $(SRCS:.c=.o) |
45 | |
15596
667c78f0fc60
- correct the argument in configure check for lrintf() to avoid a warning
henry
parents:
13583
diff
changeset
|
46 CFLAGS = -I. $(OPTFLAGS) -D_GNU_SOURCE |
10725 | 47 |
13583 | 48 # Uncomment this to use the FIXED_POINT implementation of FAAD2. |
49 # This should improve performance, especially for SBR files. | |
50 #CFLAGS = -I. $(OPTFLAGS) -DFIXED_POINT | |
51 | |
10725 | 52 .SUFFIXES: .c .o |
53 | |
54 # .PHONY: all clean | |
55 | |
56 .c.o: | |
57 $(CC) -c $(CFLAGS) -o $@ $< | |
58 | |
59 $(LIBNAME): $(OBJS) | |
60 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 61 $(RANLIB) $(LIBNAME) |
10725 | 62 |
63 all: $(LIBNAME) | |
64 | |
65 clean: | |
66 rm -f *.o *.a *~ | |
67 | |
68 distclean: | |
69 rm -f test *.o *.a *~ .depend | |
70 | |
71 dep: depend | |
72 | |
73 depend: | |
74 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
75 | |
76 # | |
77 # include dependency files if they exist | |
78 # | |
79 ifneq ($(wildcard .depend),) | |
80 include .depend | |
81 endif |