add iLBC optimizations from bkw
[asterisk/asterisk.git] / codecs / ilbc / Makefile
1 CFLAGS+=-Wall -Werror -fPIC -O3 -march=$(shell uname -m) -funroll-loops -fomit-frame-pointer
2 LIB=libilbc.a
3
4 OBJS= anaFilter.o iCBSearch.o packing.o \
5         constants.o gainquant.o iLBC_decode.o StateConstructW.o \
6         createCB.o getCBvec.o iLBC_encode.o StateSearchW.o doCPLC.o \
7         helpfun.o syntFilter.o enhancer.o hpInput.o LPCdecode.o \
8         filter.o hpOutput.o LPCencode.o FrameClassify.o  iCBConstruct.o lsf.o
9
10 all: $(LIB)
11
12
13 $(LIB): $(OBJS)
14         ar cr $(LIB) $(OBJS)
15         ranlib $(LIB)
16
17 clean:
18         rm -f $(LIB) *.o
19
20 install:
21