FreeCalypso > hg > gsm-net-reveng
annotate d144/Makefile @ 54:8deebf9c410a
d144: "decompile" binary input format into ASCII
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 25 Sep 2024 04:32:32 +0000 |
parents | c93ecd225b7f |
children | fe3cdbbc96f9 |
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 |
54
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
3 PROGS= edata-input-compile edata-input-decomp |
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
4 DATA= d144-ul-input.bin d144-ul-input.asc |
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 |
52
4681ad8483d6
d144: edata-input-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
8 edata-input-compile: edata-input-compile.c |
4681ad8483d6
d144: edata-input-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
26
diff
changeset
|
9 ${CC} ${CFLAGS} -o $@ $@.c |
26
f80e64139670
trau-ul-decomp program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
24
diff
changeset
|
10 |
54
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
11 edata-input-decomp: edata-input-decomp.c |
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
12 ${CC} ${CFLAGS} -o $@ $@.c |
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
13 |
53
c93ecd225b7f
d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents:
52
diff
changeset
|
14 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
|
15 ./edata-input-compile ul-input $@ |
c93ecd225b7f
d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents:
52
diff
changeset
|
16 |
54
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
17 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
|
18 ./edata-input-decomp d144-ul-input.bin $@ |
8deebf9c410a
d144: "decompile" binary input format into ASCII
Mychaela Falconia <falcon@freecalypso.org>
parents:
53
diff
changeset
|
19 |
24
8e9bbb83bd16
trau-ul-compile program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 clean: |
53
c93ecd225b7f
d144: generate d144-ul-input.bin
Mychaela Falconia <falcon@freecalypso.org>
parents:
52
diff
changeset
|
21 rm -f *.o ${PROGS} ${DATA} |