comparison dev/Makefile @ 277:37dc5c84bbe9

dev: generate RTP-packed GSM-FR DHF
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 14 Apr 2024 04:00:02 +0000
parents e4ca04586118
children 19f1aa01ea10
comparison
equal deleted inserted replaced
276:e4ca04586118 277:37dc5c84bbe9
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= a2s-regen efr-bit-packing efr-sid-insert efr-tidsp gsm0611-silence-fr \ 3 PROGS= a2s-regen efr-bit-packing efr-sid-insert efr-tidsp gsm0611-silence-fr \
4 mk-256bytes s2a-regen s2u-regen s2u-regen-plus4 u2s-regen xmaxc-tables 4 gsmfr-dhf mk-256bytes s2a-regen s2u-regen s2u-regen-plus4 u2s-regen \
5 xmaxc-tables
5 DATAOUT=a2s-regen.out efr-bit-packing.out efr-sid-insert.out efr-tidsp.out \ 6 DATAOUT=a2s-regen.out efr-bit-packing.out efr-sid-insert.out efr-tidsp.out \
6 gsm0611-silence-fr.out s2a-regen.out s2u-regen.out s2u-regen-plus4.out \ 7 gsm0611-silence-fr.out gsmfr-dhf.out s2a-regen.out s2u-regen.out \
7 u2s-regen.out xmaxc-tables.out 8 s2u-regen-plus4.out u2s-regen.out xmaxc-tables.out
8 9
9 all: ${PROGS} ${DATAOUT} 10 all: ${PROGS} ${DATAOUT}
10 11
11 a2s-regen: a2s-regen.c 12 a2s-regen: a2s-regen.c
12 ${CC} ${CFLAGS} -o $@ $@.c 13 ${CC} ${CFLAGS} -o $@ $@.c
35 gsm0611-silence-fr: gsm0611-silence-fr.o pack_gsmfr_rtp.o 36 gsm0611-silence-fr: gsm0611-silence-fr.o pack_gsmfr_rtp.o
36 ${CC} ${CFLAGS} -o $@ $@.o pack_gsmfr_rtp.o 37 ${CC} ${CFLAGS} -o $@ $@.o pack_gsmfr_rtp.o
37 38
38 gsm0611-silence-fr.out: gsm0611-silence-fr 39 gsm0611-silence-fr.out: gsm0611-silence-fr
39 ./gsm0611-silence-fr > $@ 40 ./gsm0611-silence-fr > $@
41
42 gsmfr-dhf: gsmfr-dhf.o pack_gsmfr_rtp.o
43 ${CC} ${CFLAGS} -o $@ $@.o pack_gsmfr_rtp.o
44
45 gsmfr-dhf.out: gsmfr-dhf
46 ./gsmfr-dhf > $@
40 47
41 mk-256bytes: mk-256bytes.c 48 mk-256bytes: mk-256bytes.c
42 ${CC} ${CFLAGS} -o $@ $@.c 49 ${CC} ${CFLAGS} -o $@ $@.c
43 50
44 s2a-regen: s2a-regen.c 51 s2a-regen: s2a-regen.c