comparison ae-dec-dhf/Makefile @ 40:e38e8d0fba70

ae-dec-dhf: complete generation
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 May 2024 08:18:17 +0000
parents ab7c80f6f02d
children 4e031007e6dd
comparison
equal deleted inserted replaced
39:ab7c80f6f02d 40:e38e8d0fba70
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROG= gen-test-frames 3 PROG= gen-test-frames
4 FILES= test-frames.gsmx 4 FILES= test-frames.gsmx testseq.gsmx decode.robe decode.ul
5 PREAMBLE=../ul-test/efr-uplink.gsmx
5 6
6 all: ${PROG} ${FILES} 7 all: ${PROG} ${FILES}
7 8
8 ${PROG}: ${PROG}.c 9 ${PROG}: ${PROG}.c
9 ${CC} ${CFLAGS} -o $@ $@.c -lgsmefr -ltwamr 10 ${CC} ${CFLAGS} -o $@ $@.c -lgsmefr -ltwamr
10 11
11 test-frames.gsmx: ${PROG} 12 test-frames.gsmx: ${PROG}
12 ./${PROG} $@ 13 ./${PROG} $@
13 14
15 testseq.gsmx: ${PREAMBLE} test-frames.gsmx
16 cat ${PREAMBLE} test-frames.gsmx > $@
17
18 decode.robe: testseq.gsmx
19 amrefr-decode-r $< $@
20
21 decode.ul: decode.robe
22 pcm16-to-ulaw $< $@
23
14 clean: 24 clean:
15 rm -f *.o ${PROG} *.robe *.ul *.gsmx 25 rm -f *.o ${PROG} *.robe *.ul *.gsmx