diff 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
line wrap: on
line diff
--- a/dev/Makefile	Sun Apr 14 03:38:09 2024 +0000
+++ b/dev/Makefile	Sun Apr 14 04:00:02 2024 +0000
@@ -1,10 +1,11 @@
 CC=	gcc
 CFLAGS=	-O2
 PROGS=	a2s-regen efr-bit-packing efr-sid-insert efr-tidsp gsm0611-silence-fr \
-	mk-256bytes s2a-regen s2u-regen s2u-regen-plus4 u2s-regen xmaxc-tables
+	gsmfr-dhf mk-256bytes s2a-regen s2u-regen s2u-regen-plus4 u2s-regen \
+	xmaxc-tables
 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 \
-	u2s-regen.out xmaxc-tables.out
+	gsm0611-silence-fr.out gsmfr-dhf.out s2a-regen.out s2u-regen.out \
+	s2u-regen-plus4.out u2s-regen.out xmaxc-tables.out
 
 all:	${PROGS} ${DATAOUT}
 
@@ -38,6 +39,12 @@
 gsm0611-silence-fr.out:	gsm0611-silence-fr
 	./gsm0611-silence-fr > $@
 
+gsmfr-dhf:	gsmfr-dhf.o pack_gsmfr_rtp.o
+	${CC} ${CFLAGS} -o $@ $@.o pack_gsmfr_rtp.o
+
+gsmfr-dhf.out:	gsmfr-dhf
+	./gsmfr-dhf > $@
+
 mk-256bytes:	mk-256bytes.c
 	${CC} ${CFLAGS} -o $@ $@.c