view dev/Makefile @ 146:0fa0cd251a31

gsmefr-dec-parse: use factored-out ETSI bit reader
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 14 Dec 2022 08:05:08 +0000
parents 68215020852b
children 842136bbd0da
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	efr-bit-packing efr-sid-insert efr-tidsp gsm0611-silence-fr
DATAOUT=efr-bit-packing.out efr-sid-insert.out efr-tidsp.out \
	gsm0611-silence-fr.out

all:	${PROGS} ${DATAOUT}

efr-bit-packing:	efr-bit-packing.c
	${CC} ${CFLAGS} -o $@ $@.c

efr-bit-packing.out:	efr-bit-packing
	./efr-bit-packing > $@

efr-sid-insert:		efr-sid-insert.c
	${CC} ${CFLAGS} -o $@ $@.c

efr-sid-insert.out:	efr-sid-insert
	./efr-sid-insert > $@

efr-tidsp:	efr-tidsp.c
	${CC} ${CFLAGS} -o $@ $@.c

efr-tidsp.out:	efr-tidsp
	./efr-tidsp > $@

gsm0611-silence-fr:	gsm0611-silence-fr.c
	${CC} ${CFLAGS} -o $@ $@.c -lgsm

gsm0611-silence-fr.out:	gsm0611-silence-fr
	./gsm0611-silence-fr > $@

clean:
	rm -f *.o *.out ${PROGS}