diff hrutil/Makefile @ 606:bc57dcfa91d0

hrutil: new program gsmhr-etsi-dec
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 04 Dec 2025 21:36:51 +0000
parents fc7a59deb3c3
children cdf3f5c618b8
line wrap: on
line diff
--- a/hrutil/Makefile	Thu Dec 04 21:01:46 2025 +0000
+++ b/hrutil/Makefile	Thu Dec 04 21:36:51 2025 +0000
@@ -1,6 +1,6 @@
 PROGS=	gsmhr-cod-craft gsmhr-cod-parse gsmhr-cod2hex gsmhr-dec-craft \
-	gsmhr-dec-parse gsmhr-dec2hex gsmhr-hex2dec gsmhr-hex2rpf gsmhr-rpf2hex\
-	gsmhr-tfo-xfrm tw5b-dump
+	gsmhr-dec-parse gsmhr-dec2hex gsmhr-etsi-dec gsmhr-hex2dec \
+	gsmhr-hex2rpf gsmhr-rpf2hex gsmhr-tfo-xfrm tw5b-dump
 LIBHR1=	../libgsmhr1/libgsmhr1.a
 LIBTEST=../libtest/libtest.a
 LIBS=	${LIBHR1} ${LIBTEST}
@@ -27,6 +27,9 @@
 gsmhr-dec2hex:	dec2hex.o read-dec.o ${LIBS}
 	${CC} ${CFLAGS} -o $@ $^
 
+gsmhr-etsi-dec:	etsi-dec.o etsi-pcm-out.o read-dec.o ${LIBS}
+	${CC} ${CFLAGS} -o $@ $^
+
 gsmhr-hex2dec:	hex2dec.o ${LIBS}
 	${CC} ${CFLAGS} -o $@ $^
 
@@ -42,6 +45,9 @@
 tw5b-dump:	print-frame.o tw5b-dump.o ${LIBS}
 	${CC} ${CFLAGS} -o $@ $^
 
+etsi-pcm-out.o:	../efrtest/etsi-pcm-out.c
+	${CC} ${CFLAGS} -c -o $@ $<
+
 install:
 	mkdir -p ${DESTDIR}${bindir}
 	install -c ${PROGS} ${DESTDIR}${bindir}