FreeCalypso > hg > gsm-codec-lib
comparison miscutil/Makefile @ 142:578fdedf4327
pcm16-wav2raw utility written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 14 Dec 2022 06:45:17 +0000 |
parents | c1dc094f0821 |
children | b092a510141e |
comparison
equal
deleted
inserted
replaced
141:c1dc094f0821 | 142:578fdedf4327 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= gsm-amr2efr gsm-efr2amr gsmrec-dump pcm16-raw2wav | 3 PROGS= gsm-amr2efr gsm-efr2amr 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 | 8 AMR2EFR_OBJS= amr122bits.o bitmanip.o amr2efr.o |
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} | 22 pcm16-raw2wav: raw2wav.o ${LIBTEST} |
23 ${CC} ${CFLAGS} -o $@ raw2wav.o ${LIBTEST} | 23 ${CC} ${CFLAGS} -o $@ raw2wav.o ${LIBTEST} |
24 | 24 |
25 pcm16-wav2raw: wav2raw.o ${LIBTEST} | |
26 ${CC} ${CFLAGS} -o $@ wav2raw.o ${LIBTEST} | |
27 | |
25 install: | 28 install: |
26 mkdir -p ${INSTBIN} | 29 mkdir -p ${INSTBIN} |
27 install -c ${PROGS} ${INSTBIN} | 30 install -c ${PROGS} ${INSTBIN} |
28 | 31 |
29 clean: | 32 clean: |