FreeCalypso > hg > vband-misc
comparison ae-dec-dhf/Makefile @ 41:4e031007e6dd
ae-dec-dhf: generate TCH UL input
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 14 May 2024 08:26:00 +0000 |
parents | e38e8d0fba70 |
children |
comparison
equal
deleted
inserted
replaced
40:e38e8d0fba70 | 41:4e031007e6dd |
---|---|
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 testseq.gsmx decode.robe decode.ul | 4 FILES= test-frames.gsmx testseq.gsmx testseq.tch decode.robe decode.ul |
5 PREAMBLE=../ul-test/efr-uplink.gsmx | 5 PREAMBLE=../ul-test/efr-uplink.gsmx |
6 | 6 |
7 all: ${PROG} ${FILES} | 7 all: ${PROG} ${FILES} |
8 | 8 |
9 ${PROG}: ${PROG}.c | 9 ${PROG}: ${PROG}.c |
13 ./${PROG} $@ | 13 ./${PROG} $@ |
14 | 14 |
15 testseq.gsmx: ${PREAMBLE} test-frames.gsmx | 15 testseq.gsmx: ${PREAMBLE} test-frames.gsmx |
16 cat ${PREAMBLE} test-frames.gsmx > $@ | 16 cat ${PREAMBLE} test-frames.gsmx > $@ |
17 | 17 |
18 testseq.tch: testseq.gsmx | |
19 fc-efr2tch $< $@ | |
20 | |
18 decode.robe: testseq.gsmx | 21 decode.robe: testseq.gsmx |
19 amrefr-decode-r $< $@ | 22 amrefr-decode-r $< $@ |
20 | 23 |
21 decode.ul: decode.robe | 24 decode.ul: decode.robe |
22 pcm16-to-ulaw $< $@ | 25 pcm16-to-ulaw $< $@ |
23 | 26 |
24 clean: | 27 clean: |
25 rm -f *.o ${PROG} *.robe *.ul *.gsmx | 28 rm -f *.o ${PROG} *.robe *.ul *.gsmx *.tch |