diff efr-sid/Makefile @ 48:3e632126e099

efr-sid: generate efr-sid-test2.gsmx for OS#6538
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 11 Aug 2024 22:17:37 +0000
parents 8bfc517fda3b
children 914eeb3ab866
line wrap: on
line diff
--- a/efr-sid/Makefile	Wed Jul 24 05:39:51 2024 +0000
+++ b/efr-sid/Makefile	Sun Aug 11 22:17:37 2024 +0000
@@ -1,16 +1,26 @@
 CC=	gcc
 CFLAGS=	-O2
-PROG=	mk-sid-test
+PROG1=	mk-sid-test
+PROG2=	mk-sid-test2
+PROGS=	${PROG1} ${PROG2}
 INPUT=	dtx01-frame71.cod
-OUTPUT=	efr-sid-test.gsmx
+OUT1=	efr-sid-test.gsmx
+OUT2=	efr-sid-test2.gsmx
+OUTPUTS=${OUT1} ${OUT2}
 
-all:	${PROG} ${OUTPUT}
+all:	${PROGS} ${OUTPUTS}
 
-${PROG}:	${PROG}.o etsi-bit-rd.o sidbits.o
+${PROG1}:	${PROG1}.o etsi-bit-rd.o sidbits.o
 	${CC} ${CFLAGS} -o $@ $^
 
-${OUTPUT}:	${PROG} ${INPUT}
-	./${PROG} ${INPUT} ${OUTPUT}
+${OUT1}:	${PROG1} ${INPUT}
+	./${PROG1} ${INPUT} $@
+
+${PROG2}:	${PROG2}.o etsi-bit-rd.o sidbits.o
+	${CC} ${CFLAGS} -o $@ $^
+
+${OUT2}:	${PROG2} ${INPUT}
+	./${PROG2} ${INPUT} $@
 
 clean:
-	rm -f ${PROG} *.o *.gsmx
+	rm -f ${PROGS} *.o *.gsmx