comparison miscutil/Makefile @ 141:c1dc094f0821

pcm16-raw2wav utility written
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 14 Dec 2022 06:19:03 +0000
parents 0123ca1f1402
children 578fdedf4327
comparison
equal deleted inserted replaced
140:5efc377326da 141:c1dc094f0821
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gsm-amr2efr gsm-efr2amr gsmrec-dump 3 PROGS= gsm-amr2efr gsm-efr2amr gsmrec-dump pcm16-raw2wav
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
17 ${CC} ${CFLAGS} -o $@ ${EFR2AMR_OBJS} ${LIBTEST} 17 ${CC} ${CFLAGS} -o $@ ${EFR2AMR_OBJS} ${LIBTEST}
18 18
19 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR} 19 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR}
20 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm 20 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm
21 21
22 pcm16-raw2wav: raw2wav.o ${LIBTEST}
23 ${CC} ${CFLAGS} -o $@ raw2wav.o ${LIBTEST}
24
22 install: 25 install:
23 mkdir -p ${INSTBIN} 26 mkdir -p ${INSTBIN}
24 install -c ${PROGS} ${INSTBIN} 27 install -c ${PROGS} ${INSTBIN}
25 28
26 clean: 29 clean: