view libgsmfrp/Makefile @ 109:2361a7d8c1eb

libgsmfrp: randomize grid position params when muting speech, following GSM 06.11 example solution in more detail
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 28 Nov 2022 04:15:20 +0000
parents 3b64f255689a
children a48ddaa0f9a7
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	bad_frame.o comfort_noise.o good_frame.o prng.o sidclass.o \
	silence_frame.o state.o
LIB=	libgsmfrp.a

INSTALL_PREFIX=	/usr/local

all:	${LIB}

${LIB}:	${OBJS}
	ar rcu $@ ${OBJS}
	ranlib $@

install:
	mkdir -p ${INSTALL_PREFIX}/include
	install -c -m 444 gsm_fr_preproc.h ${INSTALL_PREFIX}/include
	mkdir -p ${INSTALL_PREFIX}/lib
	install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib

clean:
	rm -f *.[oa] errs