aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/ilbc/Makefile
blob: 04b912dbe540528e37a292e188d2170a9aa79a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ARCH=$(PROC)
ifeq (${OSARCH},Darwin)
CFLAGS+=-Wall -Werror -fPIC -O3 -funroll-loops -fomit-frame-pointer
else
CFLAGS+=-Wall -Werror -fPIC -O3 -march=$(ARCH) -funroll-loops -fomit-frame-pointer
endif
LIB=libilbc.a

OBJS= anaFilter.o iCBSearch.o packing.o \
        constants.o gainquant.o iLBC_decode.o StateConstructW.o \
        createCB.o getCBvec.o iLBC_encode.o StateSearchW.o doCPLC.o \
        helpfun.o syntFilter.o enhancer.o hpInput.o LPCdecode.o \
        filter.o hpOutput.o LPCencode.o FrameClassify.o  iCBConstruct.o lsf.o

all: $(LIB)


$(LIB): $(OBJS)
	ar cr $(LIB) $(OBJS)
	ranlib $(LIB)

clean:
	rm -f $(LIB) *.o

install: