comparison libfaad2/Makefile @ 10725:e989150f8216

libfaad2 v2.0rc1 imported
author arpi
date Sat, 30 Aug 2003 22:30:28 +0000
parents
children 3185f64f6350
comparison
equal deleted inserted replaced
10724:adf5697b9d83 10725:e989150f8216
1
2 LIBNAME = libfaad2.a
3
4 include ../config.mak
5
6 SRCS = bits.c cfft.c common.c decoder.c dither.c drc.c error.c filtbank.c hcr.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
7 OBJS = $(SRCS:.c=.o)
8
9 CFLAGS = -I. $(OPTFLAGS)
10
11 .SUFFIXES: .c .o
12
13 # .PHONY: all clean
14
15 .c.o:
16 $(CC) -c $(CFLAGS) -o $@ $<
17
18 $(LIBNAME): $(OBJS)
19 $(AR) r $(LIBNAME) $(OBJS)
20
21 all: $(LIBNAME)
22
23 clean:
24 rm -f *.o *.a *~
25
26 distclean:
27 rm -f test *.o *.a *~ .depend
28
29 dep: depend
30
31 depend:
32 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
33
34 #
35 # include dependency files if they exist
36 #
37 ifneq ($(wildcard .depend),)
38 include .depend
39 endif