FreeCalypso > hg > gsm-codec-lib
view 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 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= gsmrec-dump pcm16-check13 pcm16-raw2wav pcm16-to-alaw pcm16-to-ulaw \ pcm16-wav2raw LIBEFR= ../libgsmefr/libgsmefr.a LIBTEST=../libtest/libtest.a INSTBIN=/opt/freecalypso/bin all: ${PROGS} gsmrec-dump: gsmrec-dump.o ${LIBTEST} ${LIBEFR} ${CC} ${CFLAGS} -o $@ gsmrec-dump.o ${LIBTEST} ${LIBEFR} -lgsm pcm16-check13: pcm16-check13.c ${CC} ${CFLAGS} -o $@ $@.c pcm16-raw2wav: raw2wav.o ${LIBTEST} ${CC} ${CFLAGS} -o $@ raw2wav.o ${LIBTEST} pcm16-to-alaw: pcm16-to-alaw.c ${CC} ${CFLAGS} -o $@ $@.c pcm16-to-ulaw: pcm16-to-ulaw.c ${CC} ${CFLAGS} -o $@ $@.c pcm16-wav2raw: wav2raw.o ${LIBTEST} ${CC} ${CFLAGS} -o $@ wav2raw.o ${LIBTEST} install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} clean: rm -f *.o *.out ${PROGS}