comparison miscutil/Makefile @ 232:8710c94df334

miscutil: new program pcm8-to-pcm16
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 07 May 2023 19:03:36 +0000
parents 6555dae764b3
children 3816ba89a5a0
comparison
equal deleted inserted replaced
231:67cbfa0aeb1c 232:8710c94df334
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 4 pcm16-wav2raw pcm8-to-pcm16
5 LIBEFR= ../libgsmefr/libgsmefr.a 5 LIBEFR= ../libgsmefr/libgsmefr.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}
24 ${CC} ${CFLAGS} -o $@ $@.c 24 ${CC} ${CFLAGS} -o $@ $@.c
25 25
26 pcm16-wav2raw: wav2raw.o ${LIBTEST} 26 pcm16-wav2raw: wav2raw.o ${LIBTEST}
27 ${CC} ${CFLAGS} -o $@ wav2raw.o ${LIBTEST} 27 ${CC} ${CFLAGS} -o $@ wav2raw.o ${LIBTEST}
28 28
29 pcm8-to-pcm16: pcm8-to-pcm16.c
30 ${CC} ${CFLAGS} -o $@ $@.c
31
29 install: 32 install:
30 mkdir -p ${INSTBIN} 33 mkdir -p ${INSTBIN}
31 install -c ${PROGS} ${INSTBIN} 34 install -c ${PROGS} ${INSTBIN}
32 35
33 clean: 36 clean: