Mercurial > mplayer.hg
annotate libfaad2/Makefile @ 14972:e13f8066ed4b
alac and others
author | rtognimp |
---|---|
date | Sun, 20 Mar 2005 20:29:58 +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 |