view 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 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.