view intercom/ilbc/Makefile @ 4:26cd8f1ef0b1

import spandsp-0.0.6pre17
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 15:50:58 +0200
parents 13be24d74cd2
children
line wrap: on
line source

#
#	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


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