comparison efrtest/Makefile @ 239:b8e095a9e360

efrtest: new program gsmefr-cod2gsmx
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 08 May 2023 07:19:26 +0000
parents 5f23cb3f0f8d
children 51678b070c7a
comparison
equal deleted inserted replaced
238:de1b52304d26 239:b8e095a9e360
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gsmefr-cod-parse gsmefr-dec-parse gsmefr-decode gsmefr-decode-r \ 3 PROGS= gsmefr-cod-parse gsmefr-cod2gsmx gsmefr-dec-parse gsmefr-decode \
4 gsmefr-dlcap-dec gsmefr-dlcap-gsmx gsmefr-dlcap-parse gsmefr-encode \ 4 gsmefr-decode-r gsmefr-dlcap-dec gsmefr-dlcap-gsmx gsmefr-dlcap-parse \
5 gsmefr-encode-r gsmefr-etsi-dec gsmefr-etsi-enc gsmefr-rec2etsi 5 gsmefr-encode gsmefr-encode-r gsmefr-etsi-dec gsmefr-etsi-enc \
6 gsmefr-rec2etsi
6 LIBEFR= ../libgsmefr/libgsmefr.a 7 LIBEFR= ../libgsmefr/libgsmefr.a
7 LIBTEST=../libtest/libtest.a 8 LIBTEST=../libtest/libtest.a
8 INSTBIN=/opt/freecalypso/bin 9 INSTBIN=/opt/freecalypso/bin
9 10
10 all: ${PROGS} 11 all: ${PROGS}
11 12
12 gsmefr-cod-parse: cod-parse.o etsi-bit-rd.o ${LIBEFR} 13 gsmefr-cod-parse: cod-parse.o etsi-bit-rd.o ${LIBEFR}
13 ${CC} ${CFLAGS} -o $@ cod-parse.o etsi-bit-rd.o ${LIBEFR} 14 ${CC} ${CFLAGS} -o $@ cod-parse.o etsi-bit-rd.o ${LIBEFR}
15
16 gsmefr-cod2gsmx: cod2gsmx.o etsi-bit-rd.o
17 ${CC} ${CFLAGS} -o $@ cod2gsmx.o etsi-bit-rd.o
14 18
15 gsmefr-dec-parse: dec-parse.o etsi-bit-rd.o ${LIBEFR} 19 gsmefr-dec-parse: dec-parse.o etsi-bit-rd.o ${LIBEFR}
16 ${CC} ${CFLAGS} -o $@ dec-parse.o etsi-bit-rd.o ${LIBEFR} 20 ${CC} ${CFLAGS} -o $@ dec-parse.o etsi-bit-rd.o ${LIBEFR}
17 21
18 gsmefr-decode: decode.o ${LIBTEST} ${LIBEFR} 22 gsmefr-decode: decode.o ${LIBTEST} ${LIBEFR}