FreeCalypso > hg > vband-misc
annotate efr-sid/Makefile @ 56:e95e145f4b32
fr-sid: generate test sequence
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 22 Aug 2024 06:39:12 +0000 |
parents | fd498c6898a8 |
children |
rev | line source |
---|---|
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
3 PROG1= mk-sid-test |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
4 PROG2= mk-sid-test2 |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
5 PROGS= ${PROG1} ${PROG2} |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 INPUT= dtx01-frame71.cod |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
7 OUT1= efr-sid-test.gsmx |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
8 OUT2= efr-sid-test2.gsmx |
51
914eeb3ab866
efr-sid OS#6538: generate test frames in hex form
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
9 OUT2H= efr-sid-test2.hex |
52
fd498c6898a8
efr-sid OS#6538: generate TCH UL file for FC testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
51
diff
changeset
|
10 OUT2T= efr-sid-test2.tch |
fd498c6898a8
efr-sid OS#6538: generate TCH UL file for FC testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
51
diff
changeset
|
11 OUTPUTS=${OUT1} ${OUT2} ${OUT2H} ${OUT2T} |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
13 all: ${PROGS} ${OUTPUTS} |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
15 ${PROG1}: ${PROG1}.o etsi-bit-rd.o sidbits.o |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 ${CC} ${CFLAGS} -o $@ $^ |
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
48
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
18 ${OUT1}: ${PROG1} ${INPUT} |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
19 ./${PROG1} ${INPUT} $@ |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
20 |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
21 ${PROG2}: ${PROG2}.o etsi-bit-rd.o sidbits.o |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
22 ${CC} ${CFLAGS} -o $@ $^ |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
23 |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
24 ${OUT2}: ${PROG2} ${INPUT} |
3e632126e099
efr-sid: generate efr-sid-test2.gsmx for OS#6538
Mychaela Falconia <falcon@freecalypso.org>
parents:
43
diff
changeset
|
25 ./${PROG2} ${INPUT} $@ |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 |
51
914eeb3ab866
efr-sid OS#6538: generate test frames in hex form
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
27 ${OUT2H}: ${OUT2} |
914eeb3ab866
efr-sid OS#6538: generate test frames in hex form
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
28 ../utils/gen-hex-lines ${OUT2} $@ 31 |
914eeb3ab866
efr-sid OS#6538: generate test frames in hex form
Mychaela Falconia <falcon@freecalypso.org>
parents:
48
diff
changeset
|
29 |
52
fd498c6898a8
efr-sid OS#6538: generate TCH UL file for FC testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
51
diff
changeset
|
30 ${OUT2T}: ${OUT2} |
fd498c6898a8
efr-sid OS#6538: generate TCH UL file for FC testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
51
diff
changeset
|
31 fc-efr2tch ${OUT2} $@ |
fd498c6898a8
efr-sid OS#6538: generate TCH UL file for FC testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
51
diff
changeset
|
32 |
43
8bfc517fda3b
efr-sid: hack created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 clean: |
52
fd498c6898a8
efr-sid OS#6538: generate TCH UL file for FC testing
Mychaela Falconia <falcon@freecalypso.org>
parents:
51
diff
changeset
|
34 rm -f ${PROGS} *.o *.gsmx *.hex *.tch |