comparison 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
comparison
equal deleted inserted replaced
1:9cadc470e3da 2:13be24d74cd2
1 #
2 # makefile for iLBC Codec
3 #
4
5 # For GCC compiler
6 CC = gcc
7 LFLAG =
8 CFLAGS = -Wall -O3 -I../g711
9
10 # Objects
11 OBJ = vbr-g726.o g711.o
12
13 OBJS = g726.o g726_rfc3551.o
14
15 # Implicit Rules
16 .c.o:
17 $(CC) $(CFLAGS) -c $<
18
19 # Explicit Rules
20 all: g726.a vbr-g726
21
22 g711.o: ../g711/g711.c
23 $(CC) -c $(CFLAGS) ../g711/g711.c
24
25 g726.a: $(OBJS)
26 ar rcs $@ $(OBJS)
27
28 vbr-g726: $(OBJ)
29 $(CC) $(LFLAG) -o vbr-g726 $(CFLAGS) $(OBJ) g726.a -lm
30
31 clean:
32 rm -f *.o *.a vbr-g726 voicvbrl.tst
33
34 distclean: clean
35 rm -f Makefile
36
37 dep:
38 makedepend -- $(CFLAGS) *.c
39
40

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