FreeCalypso > hg > gsm-net-reveng
annotate trau-files/Makefile @ 12:154586f0f423
trau-files: decode to playable WAV
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 24 May 2024 20:05:15 +0000 |
parents | cdfeb81350f5 |
children |
rev | line source |
---|---|
7
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 EFR_BIN= e1_ts2_efr.bin |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 FR1_BIN= e1_ts2_fr.bin |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 PARSE_TOOL= ../trau-decode/trau-parse |
11
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
4 EXTR_TOOL= ../trau-decode/trau-extr |
7
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 DUMPS= fr-leg1.dump fr-leg2.dump efr-leg1.dump efr-leg2.dump |
11
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
7 GSMX= fr-leg1.gsmx fr-leg2.gsmx efr-leg1.gsmx efr-leg2.gsmx |
12
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
8 WAV= fr-leg1.wav fr-leg2.wav efr-leg1.wav efr-leg2.wav |
7
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
12
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
10 all: ${DUMPS} ${GSMX} ${WAV} |
7
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 fr-leg1.dump: ${FR1_BIN} ${PARSE_TOOL} |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 ${PARSE_TOOL} ${FR1_BIN} 1 > $@ |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 fr-leg2.dump: ${FR1_BIN} ${PARSE_TOOL} |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 ${PARSE_TOOL} ${FR1_BIN} 2 > $@ |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 efr-leg1.dump: ${EFR_BIN} ${PARSE_TOOL} |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 ${PARSE_TOOL} ${EFR_BIN} 1 > $@ |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 efr-leg2.dump: ${EFR_BIN} ${PARSE_TOOL} |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 ${PARSE_TOOL} ${EFR_BIN} 2 > $@ |
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 |
11
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
24 fr-leg1.gsmx: ${FR1_BIN} ${EXTR_TOOL} |
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
25 ${EXTR_TOOL} ${FR1_BIN} 1 0x573 0x287f3 $@ |
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
26 |
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
27 fr-leg2.gsmx: ${FR1_BIN} ${EXTR_TOOL} |
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
28 ${EXTR_TOOL} ${FR1_BIN} 2 0x5438 0x27f38 $@ |
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
29 |
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
30 efr-leg1.gsmx: ${EFR_BIN} ${EXTR_TOOL} |
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
31 ${EXTR_TOOL} ${EFR_BIN} 1 0x9ad3 0x30453 $@ |
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
32 |
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
33 efr-leg2.gsmx: ${EFR_BIN} ${EXTR_TOOL} |
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
34 ${EXTR_TOOL} ${EFR_BIN} 2 0xc738 0x2faf8 $@ |
cdfeb81350f5
trau-files: generate gsmx extracts
Mychaela Falconia <falcon@freecalypso.org>
parents:
7
diff
changeset
|
35 |
12
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
36 fr-leg1.wav: fr-leg1.gsmx |
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
37 gsmfr-decode $< $@ |
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
38 |
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
39 fr-leg2.wav: fr-leg2.gsmx |
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
40 gsmfr-decode $< $@ |
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
41 |
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
42 efr-leg1.wav: efr-leg1.gsmx |
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
43 gsmefr-decode $< $@ |
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
44 |
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
45 efr-leg2.wav: efr-leg2.gsmx |
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
46 gsmefr-decode $< $@ |
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
47 |
7
0cb57782715e
trau-files: generate human-readable dumps
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 clean: |
12
154586f0f423
trau-files: decode to playable WAV
Mychaela Falconia <falcon@freecalypso.org>
parents:
11
diff
changeset
|
49 rm -f *.dump *.gsmx *.wav |