diff amrdiff/Makefile @ 2:75ba83624a29

readone-amr program written
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 03 Apr 2024 19:41:45 +0000
parents a03c87a2abc6
children 5aeebdcbddad
line wrap: on
line diff
--- a/amrdiff/Makefile	Wed Apr 03 19:10:09 2024 +0000
+++ b/amrdiff/Makefile	Wed Apr 03 19:41:45 2024 +0000
@@ -1,12 +1,17 @@
 CC=	gcc
 CFLAGS=	-O2
-PROG=	amrdiff
-OBJS=	amrdiff.o etsi-bit-rd.o
+PROGS=	amrdiff readone-amr
+
+AMRDIFF_OBJS=	amrdiff.o etsi-bit-rd.o
+RD_AMR_OBJS=	etsi-bit-rd.o readone-amr.o readone-common.o
 
-all:	${PROG}
+all:	${PROGS}
 
-${PROG}:	${OBJS}
-	${CC} ${CFLAGS} -o $@ ${OBJS}
+amrdiff:	${AMRDIFF_OBJS}
+	${CC} ${CFLAGS} -o $@ ${AMRDIFF_OBJS}
+
+readone-amr:	${RD_AMR_OBJS}
+	${CC} ${CFLAGS} -o $@ ${RD_AMR_OBJS}
 
 clean:
-	rm -f *.o ${PROG}
+	rm -f *.o ${PROGS}