annotate dhf/Makefile @ 34:307fe06fabec

dhf: generate EFR hex DHF in C form
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 May 2024 03:36:31 +0000
parents baf74dff5368
children 6bb1651f8c11
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 PROG= efr-dhf-hexout
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
32
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
34
307fe06fabec dhf: generate EFR hex DHF in C form
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
6 all: ${PROG} ${COUT}
32
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ${PROG}: ${PROG}.c
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 ${CC} ${CFLAGS} -o $@ $@.c -lgsmefr -ltwamr
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10
34
307fe06fabec dhf: generate EFR hex DHF in C form
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
11 ${COUT}: efr-dhf-hexout
307fe06fabec dhf: generate EFR hex DHF in C form
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
12 ./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
13
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 clean:
34
307fe06fabec dhf: generate EFR hex DHF in C form
Mychaela Falconia <falcon@freecalypso.org>
parents: 32
diff changeset
15 rm -f *.o ${PROG} ${COUT}