FreeCalypso > hg > vband-misc
annotate dhf/Makefile @ 35:6bb1651f8c11
dhf: generate binary form of EFR DHF
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Tue, 14 May 2024 03:46:12 +0000 |
| parents | 307fe06fabec |
| children | e4c6fc4e30f4 |
| 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 |
|
35
6bb1651f8c11
dhf: generate binary form of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
34
diff
changeset
|
3 PROGS= efr-dhf-hexout 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 |
|
35
6bb1651f8c11
dhf: generate binary form of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
34
diff
changeset
|
5 OUTF= ${COUT} efr-dhf.gsmx |
|
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 |
|
32
baf74dff5368
dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 clean: |
|
35
6bb1651f8c11
dhf: generate binary form of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
34
diff
changeset
|
22 rm -f *.o ${PROGS} ${COUT} *.gsmx |
