view dev/Makefile @ 229:f00bf3687286

pcm16-to-ulaw: replace toast table with STL function
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Apr 2023 17:19:03 +0000
parents 67d60915fbbe
children 20750ffb1c3e
line wrap: on
line source

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

all:	${PROGS} ${DATAOUT}

a2s-regen:	a2s-regen.c
	${CC} ${CFLAGS} -o $@ $@.c

a2s-regen.out:	a2s-regen
	./a2s-regen > $@

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 > $@

s2a-regen:	s2a-regen.c
	${CC} ${CFLAGS} -o $@ $@.c

s2a-regen.out:	s2a-regen
	./s2a-regen > $@

s2u-regen:	s2u-regen.c
	${CC} ${CFLAGS} -o $@ $@.c

s2u-regen.out:	s2u-regen
	./s2u-regen > $@

s2u-regen-plus4:	s2u-regen-plus4.c
	${CC} ${CFLAGS} -o $@ $@.c

s2u-regen-plus4.out:	s2u-regen-plus4
	./s2u-regen-plus4 > $@

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