view libgsmefr/Makefile @ 44:c337661d2ab5

top Makefile: add libgsmefr
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Nov 2022 02:12:38 +0000
parents b9ade9d64e0e
children af4b075d0313
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	basicop2.o frame2params.o params2frame.o sid_class.o sid_insert.o \
	tls_flags.o
HDRS=	basic_op.h cnst.h codec.h d_homing.h dtx.h e_homing.h gains_tb.h \
	gsm_efr.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