FreeCalypso > hg > vband-misc
annotate ae-dec-dhf/Makefile @ 44:0b1c4960e5e9
top Makefile: add efr-sid
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 09 Jun 2024 06:00:43 +0000 |
parents | 4e031007e6dd |
children |
rev | line source |
---|---|
39
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PROG= gen-test-frames |
41
4e031007e6dd
ae-dec-dhf: generate TCH UL input
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
4 FILES= test-frames.gsmx testseq.gsmx testseq.tch decode.robe decode.ul |
40
e38e8d0fba70
ae-dec-dhf: complete generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
5 PREAMBLE=../ul-test/efr-uplink.gsmx |
39
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 all: ${PROG} ${FILES} |
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ${PROG}: ${PROG}.c |
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ${CC} ${CFLAGS} -o $@ $@.c -lgsmefr -ltwamr |
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 test-frames.gsmx: ${PROG} |
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 ./${PROG} $@ |
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
40
e38e8d0fba70
ae-dec-dhf: complete generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
15 testseq.gsmx: ${PREAMBLE} test-frames.gsmx |
e38e8d0fba70
ae-dec-dhf: complete generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
16 cat ${PREAMBLE} test-frames.gsmx > $@ |
e38e8d0fba70
ae-dec-dhf: complete generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
17 |
41
4e031007e6dd
ae-dec-dhf: generate TCH UL input
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
18 testseq.tch: testseq.gsmx |
4e031007e6dd
ae-dec-dhf: generate TCH UL input
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
19 fc-efr2tch $< $@ |
4e031007e6dd
ae-dec-dhf: generate TCH UL input
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
20 |
40
e38e8d0fba70
ae-dec-dhf: complete generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
21 decode.robe: testseq.gsmx |
e38e8d0fba70
ae-dec-dhf: complete generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
22 amrefr-decode-r $< $@ |
e38e8d0fba70
ae-dec-dhf: complete generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
23 |
e38e8d0fba70
ae-dec-dhf: complete generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
24 decode.ul: decode.robe |
e38e8d0fba70
ae-dec-dhf: complete generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
25 pcm16-to-ulaw $< $@ |
e38e8d0fba70
ae-dec-dhf: complete generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
39
diff
changeset
|
26 |
39
ab7c80f6f02d
ae-dec-dhf: initial generation
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 clean: |
41
4e031007e6dd
ae-dec-dhf: generate TCH UL input
Mychaela Falconia <falcon@freecalypso.org>
parents:
40
diff
changeset
|
28 rm -f *.o ${PROG} *.robe *.ul *.gsmx *.tch |