view intercom/g726/Makefile @ 6:22a74b01a099 default tip

implement more meaningful test program
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Fri, 25 Jun 2010 16:14:50 +0200
parents 13be24d74cd2
children
line wrap: on
line source

#
#	makefile for iLBC Codec
#

# For GCC compiler
CC = gcc
LFLAG = 
CFLAGS = -Wall -O3 -I../g711

# Objects
OBJ =  vbr-g726.o g711.o

OBJS = g726.o g726_rfc3551.o 

# Implicit Rules
.c.o:
	$(CC) $(CFLAGS) -c $<

# Explicit Rules
all:	g726.a vbr-g726

g711.o:	../g711/g711.c
	$(CC) -c $(CFLAGS) ../g711/g711.c

g726.a: $(OBJS)
	ar rcs $@ $(OBJS)

vbr-g726:    $(OBJ)
	$(CC) $(LFLAG) -o vbr-g726 $(CFLAGS) $(OBJ) g726.a -lm

clean:
	rm -f *.o *.a vbr-g726 voicvbrl.tst

distclean:	clean
	rm -f Makefile

dep:
	makedepend -- $(CFLAGS) *.c


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