diff dev/Makefile @ 32:9639a44ae2e7

dev: efr-bit-packing helper program
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 24 Nov 2022 01:41:49 +0000
parents 6780b23654bd
children 3b5958f28a40
line wrap: on
line diff
--- a/dev/Makefile	Wed Nov 23 08:40:08 2022 +0000
+++ b/dev/Makefile	Thu Nov 24 01:41:49 2022 +0000
@@ -1,10 +1,16 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	gsm0611-silence-fr
-DATAOUT=gsm0611-silence-fr.out
+PROGS=	efr-bit-packing gsm0611-silence-fr
+DATAOUT=efr-bit-packing.out gsm0611-silence-fr.out
 
 all:	${PROGS} ${DATAOUT}
 
+efr-bit-packing:	efr-bit-packing.c
+	${CC} ${CFLAGS} -o $@ $@.c
+
+efr-bit-packing.out:	efr-bit-packing
+	./efr-bit-packing > $@
+
 gsm0611-silence-fr:	gsm0611-silence-fr.c
 	${CC} ${CFLAGS} -o $@ $@.c -lgsm