comparison trau-files/Makefile @ 11:cdfeb81350f5

trau-files: generate gsmx extracts
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 24 May 2024 20:01:54 +0000
parents 0cb57782715e
children 154586f0f423
comparison
equal deleted inserted replaced
10:4d1732e4a143 11:cdfeb81350f5
1 EFR_BIN= e1_ts2_efr.bin 1 EFR_BIN= e1_ts2_efr.bin
2 FR1_BIN= e1_ts2_fr.bin 2 FR1_BIN= e1_ts2_fr.bin
3 PARSE_TOOL= ../trau-decode/trau-parse 3 PARSE_TOOL= ../trau-decode/trau-parse
4 EXTR_TOOL= ../trau-decode/trau-extr
4 5
5 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
6 8
7 all: ${DUMPS} 9 all: ${DUMPS} ${GSMX}
8 10
9 fr-leg1.dump: ${FR1_BIN} ${PARSE_TOOL} 11 fr-leg1.dump: ${FR1_BIN} ${PARSE_TOOL}
10 ${PARSE_TOOL} ${FR1_BIN} 1 > $@ 12 ${PARSE_TOOL} ${FR1_BIN} 1 > $@
11 13
12 fr-leg2.dump: ${FR1_BIN} ${PARSE_TOOL} 14 fr-leg2.dump: ${FR1_BIN} ${PARSE_TOOL}
16 ${PARSE_TOOL} ${EFR_BIN} 1 > $@ 18 ${PARSE_TOOL} ${EFR_BIN} 1 > $@
17 19
18 efr-leg2.dump: ${EFR_BIN} ${PARSE_TOOL} 20 efr-leg2.dump: ${EFR_BIN} ${PARSE_TOOL}
19 ${PARSE_TOOL} ${EFR_BIN} 2 > $@ 21 ${PARSE_TOOL} ${EFR_BIN} 2 > $@
20 22
23 fr-leg1.gsmx: ${FR1_BIN} ${EXTR_TOOL}
24 ${EXTR_TOOL} ${FR1_BIN} 1 0x573 0x287f3 $@
25
26 fr-leg2.gsmx: ${FR1_BIN} ${EXTR_TOOL}
27 ${EXTR_TOOL} ${FR1_BIN} 2 0x5438 0x27f38 $@
28
29 efr-leg1.gsmx: ${EFR_BIN} ${EXTR_TOOL}
30 ${EXTR_TOOL} ${EFR_BIN} 1 0x9ad3 0x30453 $@
31
32 efr-leg2.gsmx: ${EFR_BIN} ${EXTR_TOOL}
33 ${EXTR_TOOL} ${EFR_BIN} 2 0xc738 0x2faf8 $@
34
21 clean: 35 clean:
22 rm -f *.dump 36 rm -f *.dump *.gsmx