comparison miscutil/Makefile @ 221:6555dae764b3

miscutil: new program pcm16-check13
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Apr 2023 03:36:25 +0000
parents c4c45148cde1
children 8710c94df334
comparison
equal deleted inserted replaced
220:c4c45148cde1 221:6555dae764b3
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gsmrec-dump pcm16-raw2wav pcm16-to-alaw pcm16-to-ulaw pcm16-wav2raw 3 PROGS= gsmrec-dump pcm16-check13 pcm16-raw2wav pcm16-to-alaw pcm16-to-ulaw \
4 pcm16-wav2raw
4 LIBEFR= ../libgsmefr/libgsmefr.a 5 LIBEFR= ../libgsmefr/libgsmefr.a
5 LIBTEST=../libtest/libtest.a 6 LIBTEST=../libtest/libtest.a
6 INSTBIN=/opt/freecalypso/bin 7 INSTBIN=/opt/freecalypso/bin
7 8
8 all: ${PROGS} 9 all: ${PROGS}
9 10
10 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR} 11 gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR}
11 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm 12 ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm
13
14 pcm16-check13: pcm16-check13.c
15 ${CC} ${CFLAGS} -o $@ $@.c
12 16
13 pcm16-raw2wav: raw2wav.o ${LIBTEST} 17 pcm16-raw2wav: raw2wav.o ${LIBTEST}
14 ${CC} ${CFLAGS} -o $@ raw2wav.o ${LIBTEST} 18 ${CC} ${CFLAGS} -o $@ raw2wav.o ${LIBTEST}
15 19
16 pcm16-to-alaw: pcm16-to-alaw.c 20 pcm16-to-alaw: pcm16-to-alaw.c