comparison dhf/Makefile @ 36:e4c6fc4e30f4

dhf: generate binary form of FR1 DHF
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 May 2024 04:26:18 +0000
parents 6bb1651f8c11
children
comparison
equal deleted inserted replaced
35:6bb1651f8c11 36:e4c6fc4e30f4
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= efr-dhf-hexout emit-dhfbin-efr 3 PROGS= efr-dhf-hexout emit-dhfbin-0610 emit-dhfbin-efr
4 COUT= efr-dhf-bytes.c mr122-dhf-bytes.c 4 COUT= efr-dhf-bytes.c mr122-dhf-bytes.c
5 OUTF= ${COUT} efr-dhf.gsmx 5 OUTF= ${COUT} efr-dhf.gsmx fr1-dhf.gsm
6 6
7 all: ${PROGS} ${OUTF} 7 all: ${PROGS} ${OUTF}
8 8
9 efr-dhf-hexout: efr-dhf-hexout.c 9 efr-dhf-hexout: efr-dhf-hexout.c
10 ${CC} ${CFLAGS} -o $@ $@.c -lgsmefr -ltwamr 10 ${CC} ${CFLAGS} -o $@ $@.c -lgsmefr -ltwamr
16 ${CC} ${CFLAGS} -o $@ $^ 16 ${CC} ${CFLAGS} -o $@ $^
17 17
18 efr-dhf.gsmx: emit-dhfbin-efr 18 efr-dhf.gsmx: emit-dhfbin-efr
19 ./emit-dhfbin-efr $@ 19 ./emit-dhfbin-efr $@
20 20
21 emit-dhfbin-0610: emit-dhfbin-0610.c
22 ${CC} ${CFLAGS} -o $@ $@.c -lgsmfr2
23
24 fr1-dhf.gsm: emit-dhfbin-0610
25 ./emit-dhfbin-0610 $@
26
21 clean: 27 clean:
22 rm -f *.o ${PROGS} ${COUT} *.gsmx 28 rm -f *.o ${PROGS} ${COUT} *.gsm *.gsmx