Mercurial > hg > audiostuff
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/intercom/ilbc/Makefile Fri Jun 25 09:57:52 2010 +0200 @@ -0,0 +1,59 @@ +# +# makefile for iLBC Codec +# + +# For GCC compiler +CC = gcc +LFLAG = +CFLAGS = -Wall -O2 + +# Objects +OBJ = iLBC_test.o + +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 + +# Implicit Rules +.c.o: + $(CC) $(CFLAGS) -c $< + +# Explicit Rules +all: ilbc.a iLBC_test + +ilbc.a: $(OBJS) + ar rcs $@ $(OBJS) + +iLBC_test: $(OBJ) + $(CC) $(LFLAG) -o iLBC_test $(CFLAGS) $(OBJ) ilbc.a -lm + +clean: + rm -f *.o *.a *~ *.moc.cpp *.bak iLBC_test + +distclean: clean + rm -f Makefile + +dep: + makedepend -- $(CFLAGS) *.c + +