comparison miscutil/Makefile @ 281:3816ba89a5a0

gsmrec-dump: use libgsmfr2 instead of old libgsm
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Apr 2024 05:09:52 +0000
parents 8710c94df334
children 19f1aa01ea10
comparison
equal deleted inserted replaced
280:356d9675701d 281:3816ba89a5a0
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gsmrec-dump pcm16-check13 pcm16-raw2wav pcm16-to-alaw pcm16-to-ulaw \ 3 PROGS= gsmrec-dump pcm16-check13 pcm16-raw2wav pcm16-to-alaw pcm16-to-ulaw \
4 pcm16-wav2raw pcm8-to-pcm16 4 pcm16-wav2raw pcm8-to-pcm16
5 LIBEFR= ../libgsmefr/libgsmefr.a 5 LIBEFR= ../libgsmefr/libgsmefr.a ../libgsmfr2/libgsmfr2.a
6 LIBTEST=../libtest/libtest.a 6 LIBTEST=../libtest/libtest.a
7 INSTBIN=/opt/freecalypso/bin 7 INSTBIN=/opt/freecalypso/bin
8 8
9 all: ${PROGS} 9 all: ${PROGS}
10 10
11 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR} 11 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR}
12 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm 12 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR}
13 13
14 pcm16-check13: pcm16-check13.c 14 pcm16-check13: pcm16-check13.c
15 ${CC} ${CFLAGS} -o $@ $@.c 15 ${CC} ${CFLAGS} -o $@ $@.c
16 16
17 pcm16-raw2wav: raw2wav.o ${LIBTEST} 17 pcm16-raw2wav: raw2wav.o ${LIBTEST}