FreeCalypso > hg > vband-misc
comparison 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 |
comparison
equal
deleted
inserted
replaced
33:c1aa6a4160f6 | 34:307fe06fabec |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROG= efr-dhf-hexout | 3 PROG= efr-dhf-hexout |
4 OUTFILE=efr-dhf-hex.txt | 4 COUT= efr-dhf-bytes.c mr122-dhf-bytes.c |
5 | 5 |
6 all: ${PROG} ${OUTFILE} | 6 all: ${PROG} ${COUT} |
7 | 7 |
8 ${PROG}: ${PROG}.c | 8 ${PROG}: ${PROG}.c |
9 ${CC} ${CFLAGS} -o $@ $@.c -lgsmefr -ltwamr | 9 ${CC} ${CFLAGS} -o $@ $@.c -lgsmefr -ltwamr |
10 | 10 |
11 ${OUTFILE}: ${PROG} | 11 ${COUT}: efr-dhf-hexout |
12 ./${PROG} > $@ | 12 ./efr-dhf-hexout efr-dhf-bytes.c mr122-dhf-bytes.c |
13 | 13 |
14 clean: | 14 clean: |
15 rm -f *.o ${PROG} *.txt | 15 rm -f *.o ${PROG} ${COUT} |