FreeCalypso > hg > gsm-net-reveng
comparison 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 |
comparison
equal
deleted
inserted
replaced
11:cdfeb81350f5 | 12:154586f0f423 |
---|---|
3 PARSE_TOOL= ../trau-decode/trau-parse | 3 PARSE_TOOL= ../trau-decode/trau-parse |
4 EXTR_TOOL= ../trau-decode/trau-extr | 4 EXTR_TOOL= ../trau-decode/trau-extr |
5 | 5 |
6 DUMPS= fr-leg1.dump fr-leg2.dump efr-leg1.dump efr-leg2.dump | 6 DUMPS= fr-leg1.dump fr-leg2.dump efr-leg1.dump efr-leg2.dump |
7 GSMX= fr-leg1.gsmx fr-leg2.gsmx efr-leg1.gsmx efr-leg2.gsmx | 7 GSMX= fr-leg1.gsmx fr-leg2.gsmx efr-leg1.gsmx efr-leg2.gsmx |
8 WAV= fr-leg1.wav fr-leg2.wav efr-leg1.wav efr-leg2.wav | |
8 | 9 |
9 all: ${DUMPS} ${GSMX} | 10 all: ${DUMPS} ${GSMX} ${WAV} |
10 | 11 |
11 fr-leg1.dump: ${FR1_BIN} ${PARSE_TOOL} | 12 fr-leg1.dump: ${FR1_BIN} ${PARSE_TOOL} |
12 ${PARSE_TOOL} ${FR1_BIN} 1 > $@ | 13 ${PARSE_TOOL} ${FR1_BIN} 1 > $@ |
13 | 14 |
14 fr-leg2.dump: ${FR1_BIN} ${PARSE_TOOL} | 15 fr-leg2.dump: ${FR1_BIN} ${PARSE_TOOL} |
30 ${EXTR_TOOL} ${EFR_BIN} 1 0x9ad3 0x30453 $@ | 31 ${EXTR_TOOL} ${EFR_BIN} 1 0x9ad3 0x30453 $@ |
31 | 32 |
32 efr-leg2.gsmx: ${EFR_BIN} ${EXTR_TOOL} | 33 efr-leg2.gsmx: ${EFR_BIN} ${EXTR_TOOL} |
33 ${EXTR_TOOL} ${EFR_BIN} 2 0xc738 0x2faf8 $@ | 34 ${EXTR_TOOL} ${EFR_BIN} 2 0xc738 0x2faf8 $@ |
34 | 35 |
36 fr-leg1.wav: fr-leg1.gsmx | |
37 gsmfr-decode $< $@ | |
38 | |
39 fr-leg2.wav: fr-leg2.gsmx | |
40 gsmfr-decode $< $@ | |
41 | |
42 efr-leg1.wav: efr-leg1.gsmx | |
43 gsmefr-decode $< $@ | |
44 | |
45 efr-leg2.wav: efr-leg2.gsmx | |
46 gsmefr-decode $< $@ | |
47 | |
35 clean: | 48 clean: |
36 rm -f *.dump *.gsmx | 49 rm -f *.dump *.gsmx *.wav |