view libgsmefr/Makefile @ 73:63ad83f3d821

libgsmefr: inter_6.c compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 26 Nov 2022 05:39:57 +0000
parents a0a1e8de4b46
children 2f0828ba0725
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	agc.o autocorr.o az_lsp.o basicop2.o c1035pf.o cod_12k2.o convolve.o \
	d1035pf.o d_gains.o d_homing.o d_plsf_5.o dec_12k2.o dec_create.o \
	dec_lag6.o dtx.o e_homing.o enc_create.o enc_lag6.o frame2params.o \
	g_code.o g_pitch.o int_lpc.o inter_6.o params2frame.o sid_class.o \
	sid_insert.o tls_flags.o
HDRS=	basic_op.h cnst.h codec.h d_homing.h dec_state.h dtx.h e_homing.h \
	enc_state.h gains_tb.h gsm_efr.h memops.h namespace.h no_count.h \
	oper_32b.h sig_proc.h typedef.h vad.h
LIB=	libgsmefr.a

INSTALL_PREFIX=	/usr/local

all:	${LIB}

${OBJS}:	${HDRS}

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

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

clean:
	rm -f *.[oa] errs