annotate libfaad2/Makefile @ 12222:da3cc73c2f98

sync by Daniele Forghieri
author diego
date Sat, 17 Apr 2004 16:11:26 +0000
parents 3185f64f6350
children 4a370c80fe5c
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
10989
3185f64f6350 synced with current cvs
alex
parents: 10725
diff changeset
6 SRCS = bits.c cfft.c common.c decoder.c dither.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)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
20
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
21 all: $(LIBNAME)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
22
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
23 clean:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
24 rm -f *.o *.a *~
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
25
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
26 distclean:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
27 rm -f test *.o *.a *~ .depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
28
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
29 dep: depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
30
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
31 depend:
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
32 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
33
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
34 #
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
35 # include dependency files if they exist
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
36 #
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
37 ifneq ($(wildcard .depend),)
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
38 include .depend
e989150f8216 libfaad2 v2.0rc1 imported
arpi
parents:
diff changeset
39 endif