annotate libfaad2/Makefile @ 13367:81ca72fd45f6

runtime aspect switching, patch by Aurelien Jacobs <aurel at gnuage . org>
author diego
date Fri, 17 Sep 2004 15:38:59 +0000
parents 80973aa180a5
children 6d50ef45a058
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
1
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
2 LIBNAME = libfaad2.a
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
3
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
4 include ../config.mak
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
5
12527
4a370c80fe5c update to the 2.0 release of faad, patch by adland
diego
parents: 10989
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 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
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
7 OBJS = $(SRCS:.c=.o)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
8
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
9 CFLAGS = -I. $(OPTFLAGS)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
10
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
11 .SUFFIXES: .c .o
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
12
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
13 # .PHONY: all clean
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
14
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
15 .c.o:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
16 $(CC) -c $(CFLAGS) -o $@ $<
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
17
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
18 $(LIBNAME): $(OBJS)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
19 $(AR) r $(LIBNAME) $(OBJS)
12632
80973aa180a5 ranlib cleanup by Dan Christiansen
alex
parents: 12527
diff changeset
20 $(RANLIB) $(LIBNAME)
10725
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
21
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
22 all: $(LIBNAME)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
23
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
24 clean:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
25 rm -f *.o *.a *~
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
26
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
27 distclean:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
28 rm -f test *.o *.a *~ .depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
29
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
30 dep: depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
31
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
32 depend:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
33 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
34
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
35 #
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
36 # include dependency files if they exist
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
37 #
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
38 ifneq ($(wildcard .depend),)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
39 include .depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
40 endif