FreeCalypso > hg > vband-misc
annotate dhf/Makefile @ 33:c1aa6a4160f6
ul-test: initial generation
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 13 May 2024 22:49:21 +0000 |
parents | baf74dff5368 |
children | 307fe06fabec |
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 |