FreeCalypso > hg > vband-misc
annotate dhf/Makefile @ 36:e4c6fc4e30f4
dhf: generate binary form of FR1 DHF
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 14 May 2024 04:26:18 +0000 |
parents | 6bb1651f8c11 |
children |
rev | line source |
---|---|
32
baf74dff5368
dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
baf74dff5368
dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
36
e4c6fc4e30f4
dhf: generate binary form of FR1 DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
3 PROGS= efr-dhf-hexout emit-dhfbin-0610 emit-dhfbin-efr |
34
307fe06fabec
dhf: generate EFR hex DHF in C form
Mychaela Falconia <falcon@freecalypso.org>
parents:
32
diff
changeset
|
4 COUT= efr-dhf-bytes.c mr122-dhf-bytes.c |
36
e4c6fc4e30f4
dhf: generate binary form of FR1 DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
5 OUTF= ${COUT} efr-dhf.gsmx fr1-dhf.gsm |
32
baf74dff5368
dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
35
6bb1651f8c11
dhf: generate binary form of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
34
diff
changeset
|
7 all: ${PROGS} ${OUTF} |
32
baf74dff5368
dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
35
6bb1651f8c11
dhf: generate binary form of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
34
diff
changeset
|
9 efr-dhf-hexout: efr-dhf-hexout.c |
32
baf74dff5368
dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ${CC} ${CFLAGS} -o $@ $@.c -lgsmefr -ltwamr |
baf74dff5368
dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
34
307fe06fabec
dhf: generate EFR hex DHF in C form
Mychaela Falconia <falcon@freecalypso.org>
parents:
32
diff
changeset
|
12 ${COUT}: efr-dhf-hexout |
307fe06fabec
dhf: generate EFR hex DHF in C form
Mychaela Falconia <falcon@freecalypso.org>
parents:
32
diff
changeset
|
13 ./efr-dhf-hexout efr-dhf-bytes.c mr122-dhf-bytes.c |
32
baf74dff5368
dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 |
35
6bb1651f8c11
dhf: generate binary form of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
34
diff
changeset
|
15 emit-dhfbin-efr: emit-dhfbin-efr.o efr-dhf-bytes.o |
6bb1651f8c11
dhf: generate binary form of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
34
diff
changeset
|
16 ${CC} ${CFLAGS} -o $@ $^ |
6bb1651f8c11
dhf: generate binary form of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
34
diff
changeset
|
17 |
6bb1651f8c11
dhf: generate binary form of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
34
diff
changeset
|
18 efr-dhf.gsmx: emit-dhfbin-efr |
6bb1651f8c11
dhf: generate binary form of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
34
diff
changeset
|
19 ./emit-dhfbin-efr $@ |
6bb1651f8c11
dhf: generate binary form of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
34
diff
changeset
|
20 |
36
e4c6fc4e30f4
dhf: generate binary form of FR1 DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
21 emit-dhfbin-0610: emit-dhfbin-0610.c |
e4c6fc4e30f4
dhf: generate binary form of FR1 DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
22 ${CC} ${CFLAGS} -o $@ $@.c -lgsmfr2 |
e4c6fc4e30f4
dhf: generate binary form of FR1 DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
23 |
e4c6fc4e30f4
dhf: generate binary form of FR1 DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
24 fr1-dhf.gsm: emit-dhfbin-0610 |
e4c6fc4e30f4
dhf: generate binary form of FR1 DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
25 ./emit-dhfbin-0610 $@ |
e4c6fc4e30f4
dhf: generate binary form of FR1 DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
26 |
32
baf74dff5368
dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 clean: |
36
e4c6fc4e30f4
dhf: generate binary form of FR1 DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
35
diff
changeset
|
28 rm -f *.o ${PROGS} ${COUT} *.gsm *.gsmx |