Mercurial > mplayer.hg
annotate libfaad2/Makefile @ 15206:7c4b86745b98
Snow supports 3-pass mode and 9/7 wavelet doesn't work lossless mode.
author | gpoirier |
---|---|
date | Sun, 17 Apr 2005 18:41:05 +0000 |
parents | fbf889ed2426 |
children | 667c78f0fc60 |
rev | line source |
---|---|
10725 | 1 |
2 LIBNAME = libfaad2.a | |
3 | |
4 include ../config.mak | |
5 | |
13453
6d50ef45a058
Update FAAD to a 2.1 beta CVS snapshot from 2004.07.12.
diego
parents:
12632
diff
changeset
|
6 SRCS = bits.c cfft.c common.c decoder.c drc.c error.c filtbank.c hcr.c huffman.c ic_predict.c is.c lt_predict.c mdct.c mp4.c ms.c output.c pns.c ps_dec.c ps_syntax.c pulse.c rvlc.c sbr_dct.c sbr_dec.c sbr_e_nf.c sbr_fbt.c sbr_hfadj.c sbr_hfgen.c sbr_huff.c sbr_qmf.c sbr_syntax.c sbr_tf_grid.c specrec.c ssr.c ssr_fb.c ssr_ipqf.c syntax.c tns.c |
10725 | 7 OBJS = $(SRCS:.c=.o) |
8 | |
9 CFLAGS = -I. $(OPTFLAGS) | |
10 | |
13583 | 11 # Uncomment this to use the FIXED_POINT implementation of FAAD2. |
12 # This should improve performance, especially for SBR files. | |
13 #CFLAGS = -I. $(OPTFLAGS) -DFIXED_POINT | |
14 | |
10725 | 15 .SUFFIXES: .c .o |
16 | |
17 # .PHONY: all clean | |
18 | |
19 .c.o: | |
20 $(CC) -c $(CFLAGS) -o $@ $< | |
21 | |
22 $(LIBNAME): $(OBJS) | |
23 $(AR) r $(LIBNAME) $(OBJS) | |
12632 | 24 $(RANLIB) $(LIBNAME) |
10725 | 25 |
26 all: $(LIBNAME) | |
27 | |
28 clean: | |
29 rm -f *.o *.a *~ | |
30 | |
31 distclean: | |
32 rm -f test *.o *.a *~ .depend | |
33 | |
34 dep: depend | |
35 | |
36 depend: | |
37 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
38 | |
39 # | |
40 # include dependency files if they exist | |
41 # | |
42 ifneq ($(wildcard .depend),) | |
43 include .depend | |
44 endif |