view pcmu2efr/Makefile @ 19:2bdcd2ed9a1c

pcmu2efr: generate AMR-EFR version
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 12 May 2024 00:56:42 +0000
parents 39b3c24256ae
children f5f541bc9415
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	amrefr-out stdefr-diff stdefr-out

AMREFR_OBJS=	amrefr-out.o gen-amrefr.o gen160.o seqsyncu.o ulaw-expand.o
STDEFR_OBJS=	gen-efr.o gen160.o seqsyncu.o stdefr-out.o ulaw-expand.o
STDEFRD_OBJS=	gen-efr.o gen160.o seqsyncu.o stdefr-diff.o ulaw-expand.o

all:	${PROGS}

amrefr-out:	${AMREFR_OBJS}
	${CC} ${CFLAGS} -o $@ ${AMREFR_OBJS} -lgsmefr -ltwamr

stdefr-diff:	${STDEFRD_OBJS}
	${CC} ${CFLAGS} -o $@ ${STDEFRD_OBJS} -lgsmefr

stdefr-out:	${STDEFR_OBJS}
	${CC} ${CFLAGS} -o $@ ${STDEFR_OBJS} -lgsmefr

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