comparison miscutil/Makefile @ 103:0123ca1f1402

gsm-efr2amr utility written
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 27 Nov 2022 05:41:13 +0000
parents d86f866489e9
children c1dc094f0821
comparison
equal deleted inserted replaced
102:dd88f9312170 103:0123ca1f1402
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gsm-amr2efr gsmrec-dump 3 PROGS= gsm-amr2efr gsm-efr2amr gsmrec-dump
4 LIBEFR= ../libgsmefr/libgsmefr.a 4 LIBEFR= ../libgsmefr/libgsmefr.a
5 LIBTEST=../libtest/libtest.a 5 LIBTEST=../libtest/libtest.a
6 INSTBIN=/opt/freecalypso/bin 6 INSTBIN=/opt/freecalypso/bin
7 7
8 AMR2EFR_OBJS= amr122bits.o bitmanip.o amr2efr.o 8 AMR2EFR_OBJS= amr122bits.o bitmanip.o amr2efr.o
9 EFR2AMR_OBJS= amr122bits.o bitmanip.o efr2amr.o
9 10
10 all: ${PROGS} 11 all: ${PROGS}
11 12
12 gsm-amr2efr: ${AMR2EFR_OBJS} 13 gsm-amr2efr: ${AMR2EFR_OBJS}
13 ${CC} ${CFLAGS} -o $@ ${AMR2EFR_OBJS} 14 ${CC} ${CFLAGS} -o $@ ${AMR2EFR_OBJS}
15
16 gsm-efr2amr: ${EFR2AMR_OBJS} ${LIBTEST}
17 ${CC} ${CFLAGS} -o $@ ${EFR2AMR_OBJS} ${LIBTEST}
14 18
15 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR} 19 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR}
16 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm 20 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm
17 21
18 install: 22 install: