view efrtest/Makefile @ 113:269d341db403

libgsmefr: implement main encoder wrapper
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 29 Nov 2022 07:30:39 +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}