comparison miscutil/Makefile @ 184:b092a510141e

tree reorg: move gsm-amr2efr & gsm-efr2amr to amrconv subdir
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 03 Jan 2023 02:33:45 +0000
parents 578fdedf4327
children dc52c3857bf7
comparison
equal deleted inserted replaced
183:452c1d5a6268 184:b092a510141e
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gsm-amr2efr gsm-efr2amr gsmrec-dump pcm16-raw2wav pcm16-wav2raw 3 PROGS= gsmrec-dump pcm16-raw2wav pcm16-wav2raw
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
9 EFR2AMR_OBJS= amr122bits.o bitmanip.o efr2amr.o
10
11 all: ${PROGS} 8 all: ${PROGS}
12
13 gsm-amr2efr: ${AMR2EFR_OBJS}
14 ${CC} ${CFLAGS} -o $@ ${AMR2EFR_OBJS}
15
16 gsm-efr2amr: ${EFR2AMR_OBJS} ${LIBTEST}
17 ${CC} ${CFLAGS} -o $@ ${EFR2AMR_OBJS} ${LIBTEST}
18 9
19 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR} 10 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR}
20 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm 11 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm
21 12
22 pcm16-raw2wav: raw2wav.o ${LIBTEST} 13 pcm16-raw2wav: raw2wav.o ${LIBTEST}