comparison intercom/ilbc/Makefile @ 2:13be24d74cd2

import intercom-0.4.1
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 09:57:52 +0200
parents
children
comparison
equal deleted inserted replaced
1:9cadc470e3da 2:13be24d74cd2
1 #
2 # makefile for iLBC Codec
3 #
4
5 # For GCC compiler
6 CC = gcc
7 LFLAG =
8 CFLAGS = -Wall -O2
9
10 # Objects
11 OBJ = iLBC_test.o
12
13 OBJS = anaFilter.o\
14 iCBSearch.o\
15 packing.o\
16 constants.o\
17 gainquant.o\
18 iLBC_decode.o\
19 StateConstructW.o\
20 createCB.o\
21 getCBvec.o\
22 iLBC_encode.o\
23 StateSearchW.o\
24 doCPLC.o\
25 helpfun.o\
26 syntFilter.o\
27 enhancer.o\
28 hpInput.o\
29 LPCdecode.o\
30 filter.o\
31 hpOutput.o\
32 LPCencode.o\
33 FrameClassify.o\
34 iCBConstruct.o\
35 lsf.o
36
37 # Implicit Rules
38 .c.o:
39 $(CC) $(CFLAGS) -c $<
40
41 # Explicit Rules
42 all: ilbc.a iLBC_test
43
44 ilbc.a: $(OBJS)
45 ar rcs $@ $(OBJS)
46
47 iLBC_test: $(OBJ)
48 $(CC) $(LFLAG) -o iLBC_test $(CFLAGS) $(OBJ) ilbc.a -lm
49
50 clean:
51 rm -f *.o *.a *~ *.moc.cpp *.bak iLBC_test
52
53 distclean: clean
54 rm -f Makefile
55
56 dep:
57 makedepend -- $(CFLAGS) *.c
58
59

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.