view pcmu2efr/Makefile @ 23:2628a34fe75b

pcmu2efr: encode 2nd frame for AMR-EFR offsets 120-159
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 12 May 2024 04:24:15 +0000
parents 3eb407b08b4c
children c52fb8080faf
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	amrefr-out comb-diff dhf-check stdefr-diff stdefr-out

AMREFR_OBJS=	amrefr-out.o gen-amrefr.o gen160.o seqsyncu.o ulaw-expand.o
COMB_DIFF_OBJS=	comb-diff.o gen-amr-2fr.o gen-efr.o gen160.o seqsyncu.o \
		ulaw-expand.o
DHF_CHECK_OBJS=	dhf-check.o gen-amr-2fr.o gen-efr.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

comb-diff:	${COMB_DIFF_OBJS}
	${CC} ${CFLAGS} -o $@ ${COMB_DIFF_OBJS} -lgsmefr -ltwamr

dhf-check:	${DHF_CHECK_OBJS}
	${CC} ${CFLAGS} -o $@ ${DHF_CHECK_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}