annotate d144/Makefile @ 64:0364d77aca58

d144: generate hex version of Nokia TCSM2 A-TRAU capture
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 25 Sep 2024 18:57:54 +0000
parents eeb28c9c633a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
64
0364d77aca58 d144: generate hex version of Nokia TCSM2 A-TRAU capture
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
4 DATA= d144-ul-input.bin d144-ul-input.asc nokia-tcsm2-atrau.dump \
0364d77aca58 d144: generate hex version of Nokia TCSM2 A-TRAU capture
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
5 nokia-tcsm2-atrau.hex
24
8e9bbb83bd16 trau-ul-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
53
c93ecd225b7f d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents: 52
diff changeset
7 all: ${PROGS} ${DATA}
24
8e9bbb83bd16 trau-ul-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
57
fe3cdbbc96f9 d144: new program atrau-parse
Mychaela Falconia <falcon@freecalypso.org>
parents: 54
diff changeset
9 atrau-parse: atrau-parse.c
fe3cdbbc96f9 d144: new program atrau-parse
Mychaela Falconia <falcon@freecalypso.org>
parents: 54
diff changeset
10 ${CC} ${CFLAGS} -o $@ $@.c
fe3cdbbc96f9 d144: new program atrau-parse
Mychaela Falconia <falcon@freecalypso.org>
parents: 54
diff changeset
11
52
4681ad8483d6 d144: edata-input-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 26
diff changeset
12 edata-input-compile: edata-input-compile.c
4681ad8483d6 d144: edata-input-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 26
diff changeset
13 ${CC} ${CFLAGS} -o $@ $@.c
26
f80e64139670 trau-ul-decomp program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
14
54
8deebf9c410a d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents: 53
diff changeset
15 edata-input-decomp: edata-input-decomp.c
8deebf9c410a d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents: 53
diff changeset
16 ${CC} ${CFLAGS} -o $@ $@.c
8deebf9c410a d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents: 53
diff changeset
17
53
c93ecd225b7f d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents: 52
diff changeset
18 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
19 ./edata-input-compile ul-input $@
c93ecd225b7f d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents: 52
diff changeset
20
54
8deebf9c410a d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents: 53
diff changeset
21 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
22 ./edata-input-decomp d144-ul-input.bin $@
8deebf9c410a d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents: 53
diff changeset
23
60
eeb28c9c633a d144: generate A-TRAU dump from Nokia TCSM2 capture
Mychaela Falconia <falcon@freecalypso.org>
parents: 57
diff changeset
24 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
25 ./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
26
64
0364d77aca58 d144: generate hex version of Nokia TCSM2 A-TRAU capture
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
27 nokia-tcsm2-atrau.hex: nokia-tcsm2-atrau.bin
0364d77aca58 d144: generate hex version of Nokia TCSM2 A-TRAU capture
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
28 ../utils/gen-hex-lines nokia-tcsm2-atrau.bin $@ 40
0364d77aca58 d144: generate hex version of Nokia TCSM2 A-TRAU capture
Mychaela Falconia <falcon@freecalypso.org>
parents: 60
diff changeset
29
24
8e9bbb83bd16 trau-ul-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 clean:
53
c93ecd225b7f d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents: 52
diff changeset
31 rm -f *.o ${PROGS} ${DATA}