view libgsmfrp/Makefile @ 98:18866c0354ef

libgsmefr/dec_main.c: need to use official shl() function in order to get correct saturation
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Nov 2022 21:31:58 +0000
parents 3db7af1249cb
children 3b64f255689a
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	bad_frame.o comfort_noise.o good_frame.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