comparison dev/Makefile @ 138:68215020852b

dev: add efr-tidsp table generator program
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 13 Dec 2022 06:32:25 +0000
parents 3b5958f28a40
children 842136bbd0da
comparison
equal deleted inserted replaced
137:b7ea278390eb 138:68215020852b
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= efr-bit-packing efr-sid-insert gsm0611-silence-fr 3 PROGS= efr-bit-packing efr-sid-insert efr-tidsp gsm0611-silence-fr
4 DATAOUT=efr-bit-packing.out efr-sid-insert.out gsm0611-silence-fr.out 4 DATAOUT=efr-bit-packing.out efr-sid-insert.out efr-tidsp.out \
5 gsm0611-silence-fr.out
5 6
6 all: ${PROGS} ${DATAOUT} 7 all: ${PROGS} ${DATAOUT}
7 8
8 efr-bit-packing: efr-bit-packing.c 9 efr-bit-packing: efr-bit-packing.c
9 ${CC} ${CFLAGS} -o $@ $@.c 10 ${CC} ${CFLAGS} -o $@ $@.c
15 ${CC} ${CFLAGS} -o $@ $@.c 16 ${CC} ${CFLAGS} -o $@ $@.c
16 17
17 efr-sid-insert.out: efr-sid-insert 18 efr-sid-insert.out: efr-sid-insert
18 ./efr-sid-insert > $@ 19 ./efr-sid-insert > $@
19 20
21 efr-tidsp: efr-tidsp.c
22 ${CC} ${CFLAGS} -o $@ $@.c
23
24 efr-tidsp.out: efr-tidsp
25 ./efr-tidsp > $@
26
20 gsm0611-silence-fr: gsm0611-silence-fr.c 27 gsm0611-silence-fr: gsm0611-silence-fr.c
21 ${CC} ${CFLAGS} -o $@ $@.c -lgsm 28 ${CC} ${CFLAGS} -o $@ $@.c -lgsm
22 29
23 gsm0611-silence-fr.out: gsm0611-silence-fr 30 gsm0611-silence-fr.out: gsm0611-silence-fr
24 ./gsm0611-silence-fr > $@ 31 ./gsm0611-silence-fr > $@