Files
asterisk/codecs/ilbc/Makefile
Mark Spencer 09c41b415d Merge OSX compatibility patch (bug #1940)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-28 20:10:28 +00:00

27 lines
641 B
Makefile
Executable File

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: