view efrtest/Makefile @ 110:913fe3c11890

libgsmefr/vad.c: initial import from ETSI code
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Nov 2022 03:01:38 +0000
parents d5bab777865a
children ff0372186b59
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	gsmefr-decode gsmefr-etsi-dec gsmefr-rec2etsi
LIBEFR=	../libgsmefr/libgsmefr.a
LIBTEST=../libtest/libtest.a
INSTBIN=/opt/freecalypso/bin

all:	${PROGS}

gsmefr-decode:	decode.o ${LIBTEST} ${LIBEFR}
	${CC} ${CFLAGS} -o $@ decode.o ${LIBTEST} ${LIBEFR}

gsmefr-etsi-dec:	etsi-dec.o ${LIBEFR}
	${CC} ${CFLAGS} -o $@ etsi-dec.o ${LIBEFR}

gsmefr-rec2etsi:	rec2etsi.o ${LIBTEST} ${LIBEFR}
	${CC} ${CFLAGS} -o $@ rec2etsi.o ${LIBTEST} ${LIBEFR}

install:
	mkdir -p ${INSTBIN}
	install -c ${PROGS} ${INSTBIN}

clean:
	rm -f *.o *.out ${PROGS}