FreeCalypso > hg > gsm-net-reveng
annotate d144/Makefile @ 60:eeb28c9c633a
d144: generate A-TRAU dump from Nokia TCSM2 capture
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 25 Sep 2024 17:55:08 +0000 |
parents | fe3cdbbc96f9 |
children | 0364d77aca58 |
rev | line source |
---|---|
24
8e9bbb83bd16
trau-ul-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
8e9bbb83bd16
trau-ul-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
57
fe3cdbbc96f9
d144: new program atrau-parse
Mychaela Falconia <falcon@freecalypso.org>
parents:
54
diff
changeset
|
3 PROGS= atrau-parse edata-input-compile edata-input-decomp |
60
eeb28c9c633a
d144: generate A-TRAU dump from Nokia TCSM2 capture
Mychaela Falconia <falcon@freecalypso.org>
parents:
57
diff
changeset
|
4 DATA= d144-ul-input.bin d144-ul-input.asc nokia-tcsm2-atrau.dump |
24
8e9bbb83bd16
trau-ul-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
53
c93ecd225b7f
d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents:
52
diff
changeset
|
6 all: ${PROGS} ${DATA} |
24
8e9bbb83bd16
trau-ul-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
57
fe3cdbbc96f9
d144: new program atrau-parse
Mychaela Falconia <falcon@freecalypso.org>
parents:
54
diff
changeset
|
8 atrau-parse: atrau-parse.c |
fe3cdbbc96f9
d144: new program atrau-parse
Mychaela Falconia <falcon@freecalypso.org>
parents:
54
diff
changeset
|
9 ${CC} ${CFLAGS} -o $@ $@.c |
fe3cdbbc96f9
d144: new program atrau-parse
Mychaela Falconia <falcon@freecalypso.org>
parents:
54
diff
changeset
|
10 |
52
4681ad8483d6
d144: edata-input-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
11 edata-input-compile: edata-input-compile.c |
4681ad8483d6
d144: edata-input-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
12 ${CC} ${CFLAGS} -o $@ $@.c |
26
f80e64139670
trau-ul-decomp program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
13 |
54
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
14 edata-input-decomp: edata-input-decomp.c |
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
15 ${CC} ${CFLAGS} -o $@ $@.c |
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
16 |
53
c93ecd225b7f
d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents:
52
diff
changeset
|
17 d144-ul-input.bin: edata-input-compile ul-input |
c93ecd225b7f
d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents:
52
diff
changeset
|
18 ./edata-input-compile ul-input $@ |
c93ecd225b7f
d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents:
52
diff
changeset
|
19 |
54
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
20 d144-ul-input.asc: edata-input-decomp d144-ul-input.bin |
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
21 ./edata-input-decomp d144-ul-input.bin $@ |
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
22 |
60
eeb28c9c633a
d144: generate A-TRAU dump from Nokia TCSM2 capture
Mychaela Falconia <falcon@freecalypso.org>
parents:
57
diff
changeset
|
23 nokia-tcsm2-atrau.dump: atrau-parse nokia-tcsm2-atrau.bin |
eeb28c9c633a
d144: generate A-TRAU dump from Nokia TCSM2 capture
Mychaela Falconia <falcon@freecalypso.org>
parents:
57
diff
changeset
|
24 ./atrau-parse nokia-tcsm2-atrau.bin > $@ |
eeb28c9c633a
d144: generate A-TRAU dump from Nokia TCSM2 capture
Mychaela Falconia <falcon@freecalypso.org>
parents:
57
diff
changeset
|
25 |
24
8e9bbb83bd16
trau-ul-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 clean: |
53
c93ecd225b7f
d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents:
52
diff
changeset
|
27 rm -f *.o ${PROGS} ${DATA} |