comparison efrtest/Makefile @ 114:ff0372186b59

gsmefr-etsi-enc test program written
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Nov 2022 20:31:11 +0000
parents d5bab777865a
children 5a63294fa321
comparison
equal deleted inserted replaced
113:269d341db403 114:ff0372186b59
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gsmefr-decode gsmefr-etsi-dec gsmefr-rec2etsi 3 PROGS= gsmefr-decode gsmefr-etsi-dec gsmefr-etsi-enc gsmefr-rec2etsi
4 LIBEFR= ../libgsmefr/libgsmefr.a 4 LIBEFR= ../libgsmefr/libgsmefr.a
5 LIBTEST=../libtest/libtest.a 5 LIBTEST=../libtest/libtest.a
6 INSTBIN=/opt/freecalypso/bin 6 INSTBIN=/opt/freecalypso/bin
7 7
8 all: ${PROGS} 8 all: ${PROGS}
11 ${CC} ${CFLAGS} -o $@ decode.o ${LIBTEST} ${LIBEFR} 11 ${CC} ${CFLAGS} -o $@ decode.o ${LIBTEST} ${LIBEFR}
12 12
13 gsmefr-etsi-dec: etsi-dec.o ${LIBEFR} 13 gsmefr-etsi-dec: etsi-dec.o ${LIBEFR}
14 ${CC} ${CFLAGS} -o $@ etsi-dec.o ${LIBEFR} 14 ${CC} ${CFLAGS} -o $@ etsi-dec.o ${LIBEFR}
15 15
16 gsmefr-etsi-enc: etsi-enc.o ${LIBEFR}
17 ${CC} ${CFLAGS} -o $@ etsi-enc.o ${LIBEFR}
18
16 gsmefr-rec2etsi: rec2etsi.o ${LIBTEST} ${LIBEFR} 19 gsmefr-rec2etsi: rec2etsi.o ${LIBTEST} ${LIBEFR}
17 ${CC} ${CFLAGS} -o $@ rec2etsi.o ${LIBTEST} ${LIBEFR} 20 ${CC} ${CFLAGS} -o $@ rec2etsi.o ${LIBTEST} ${LIBEFR}
18 21
19 install: 22 install:
20 mkdir -p ${INSTBIN} 23 mkdir -p ${INSTBIN}