FreeCalypso > hg > gsm-codec-lib
view frtest/Makefile @ 166:500f3e93964f
gsmfr-dlcap-gsmx: handle DSP flags consistently with EFR version
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Dec 2022 08:23:32 +0000 |
parents | ef3ea52a190f |
children | 80c93ef82a51 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= gsmfr-decode gsmfr-decode-r gsmfr-dlcap-gsmx gsmfr-encode \ gsmfr-encode-r gsmfr-hand-test gsmfr-max-out gsmfr-preproc LIBPP= ../libgsmfrp/libgsmfrp.a LIBTEST=../libtest/libtest.a LIBDEC= ${LIBTEST} ${LIBPP} INSTBIN=/opt/freecalypso/bin all: ${PROGS} gsmfr-decode: decode.o ${LIBDEC} ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm gsmfr-decode-r: decode-r.o ${LIBDEC} ${CC} ${CFLAGS} -o $@ decode-r.o ${LIBDEC} -lgsm gsmfr-dlcap-gsmx: dlcap-gsmx.o tidsp.o ${LIBTEST} ${CC} ${CFLAGS} -o $@ dlcap-gsmx.o tidsp.o ${LIBTEST} gsmfr-encode: encode.o ${LIBTEST} ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm gsmfr-encode-r: encode-r.o ${LIBTEST} ${CC} ${CFLAGS} -o $@ encode-r.o ${LIBTEST} -lgsm gsmfr-hand-test: hand-test.o ${CC} ${CFLAGS} -o $@ hand-test.o -lgsm gsmfr-max-out: max-out.o ${LIBDEC} ${CC} ${CFLAGS} -o $@ max-out.o ${LIBDEC} -lgsm gsmfr-preproc: preproc.o ${LIBDEC} ${CC} ${CFLAGS} -o $@ preproc.o ${LIBDEC} install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} clean: rm -f *.o *.out ${PROGS}