comparison 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
comparison
equal deleted inserted replaced
47:ee54b9748c09 48:3e632126e099
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= mk-sid-test 3 PROG1= mk-sid-test
4 PROG2= mk-sid-test2
5 PROGS= ${PROG1} ${PROG2}
4 INPUT= dtx01-frame71.cod 6 INPUT= dtx01-frame71.cod
5 OUTPUT= efr-sid-test.gsmx 7 OUT1= efr-sid-test.gsmx
8 OUT2= efr-sid-test2.gsmx
9 OUTPUTS=${OUT1} ${OUT2}
6 10
7 all: ${PROG} ${OUTPUT} 11 all: ${PROGS} ${OUTPUTS}
8 12
9 ${PROG}: ${PROG}.o etsi-bit-rd.o sidbits.o 13 ${PROG1}: ${PROG1}.o etsi-bit-rd.o sidbits.o
10 ${CC} ${CFLAGS} -o $@ $^ 14 ${CC} ${CFLAGS} -o $@ $^
11 15
12 ${OUTPUT}: ${PROG} ${INPUT} 16 ${OUT1}: ${PROG1} ${INPUT}
13 ./${PROG} ${INPUT} ${OUTPUT} 17 ./${PROG1} ${INPUT} $@
18
19 ${PROG2}: ${PROG2}.o etsi-bit-rd.o sidbits.o
20 ${CC} ${CFLAGS} -o $@ $^
21
22 ${OUT2}: ${PROG2} ${INPUT}
23 ./${PROG2} ${INPUT} $@
14 24
15 clean: 25 clean:
16 rm -f ${PROG} *.o *.gsmx 26 rm -f ${PROGS} *.o *.gsmx