annotate dhf/Makefile @ 32:baf74dff5368

dhf: generate hex forms of EFR DHF
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 13 May 2024 06:26:22 +0000
parents
children 307fe06fabec
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
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 OUTFILE=efr-dhf-hex.txt
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 all: ${PROG} ${OUTFILE}
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
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 ${OUTFILE}: ${PROG}
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 ./${PROG} > $@
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:
baf74dff5368 dhf: generate hex forms of EFR DHF
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 rm -f *.o ${PROG} *.txt