Mercurial > hg > audiostuff
diff intercom/g726/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/g726/Makefile Fri Jun 25 09:57:52 2010 +0200 @@ -0,0 +1,40 @@ +# +# 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 + +