diff dev/Makefile @ 224:b502321000aa

dev: new program a2s-regen
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 23 Apr 2023 04:34:09 +0000
parents 842136bbd0da
children 84d22eb72196
line wrap: on
line diff
--- a/dev/Makefile	Sun Apr 23 04:14:24 2023 +0000
+++ b/dev/Makefile	Sun Apr 23 04:34:09 2023 +0000
@@ -1,11 +1,18 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	efr-bit-packing efr-sid-insert efr-tidsp gsm0611-silence-fr s2a-regen
-DATAOUT=efr-bit-packing.out efr-sid-insert.out efr-tidsp.out \
+PROGS=	a2s-regen efr-bit-packing efr-sid-insert efr-tidsp gsm0611-silence-fr \
+	s2a-regen
+DATAOUT=a2s-regen.out efr-bit-packing.out efr-sid-insert.out efr-tidsp.out \
 	gsm0611-silence-fr.out s2a-regen.out
 
 all:	${PROGS} ${DATAOUT}
 
+a2s-regen:	a2s-regen.c
+	${CC} ${CFLAGS} -o $@ $@.c
+
+a2s-regen.out:	a2s-regen
+	./a2s-regen > $@
+
 efr-bit-packing:	efr-bit-packing.c
 	${CC} ${CFLAGS} -o $@ $@.c