view amrdiff/Makefile @ 38:e96e8d8973c0

ul-test: generate hex include files for PCMU
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 May 2024 05:36:38 +0000
parents 5aeebdcbddad
children
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
PROGS=	amrdiff readone-amr readone-efr

AMRDIFF_OBJS=	amrdiff.o etsi-bit-rd.o
RD_AMR_OBJS=	etsi-bit-rd.o readone-amr.o readone-common.o
RD_EFR_OBJS=	etsi-bit-rd.o readone-common.o readone-efr.o

all:	${PROGS}

amrdiff:	${AMRDIFF_OBJS}
	${CC} ${CFLAGS} -o $@ ${AMRDIFF_OBJS}

readone-amr:	${RD_AMR_OBJS}
	${CC} ${CFLAGS} -o $@ ${RD_AMR_OBJS}

readone-efr:	${RD_EFR_OBJS}
	${CC} ${CFLAGS} -o $@ ${RD_EFR_OBJS}

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