view libgsmfr2/Makefile @ 532:5a3535470c95

libgsmfr2 TFO: implement DTXd function
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 19 Sep 2024 21:00:18 +0000
parents c7b1e796e91b
children
line wrap: on
line source

OBJS=	add.o comfort_noise.o dec_main.o dec_wrap.o dhf.o ed_state.o \
	enc_homing.o enc_main.o enc_wrap.o full_dec.o full_dec_wrap.o \
	long_term.o lpc.o pack_frame.o pack_frame2.o pp_bad.o pp_good.o \
	pp_homing.o pp_state.o preprocess.o prng.o rpe.o short_term.o \
	sidclass.o silence_frame.o table.o tfo_dtxd.o tfo_main.o unpack_frame.o\
	unpack_frame2.o xmaxc_mean.o
HDRS=	ed_internal.h ed_state.h pp_internal.h pp_state.h tw_gsmfr.h typedef.h
LIB=	libgsmfr2.a

include ../config.defs

all:	${LIB}

${OBJS}:	${HDRS}

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

install:
	mkdir -p ${DESTDIR}${includedir}
	install -c -m 444 tw_gsmfr.h ${DESTDIR}${includedir}
	mkdir -p ${DESTDIR}${libdir}
	install -c -m 444 ${LIB} ${DESTDIR}${libdir}

clean:
	rm -f *.[oa] errs