view libgsmefr/Makefile @ 38:38326102fc43

libgsmefr: beginning to integrate code from ETSI
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 24 Nov 2022 05:30:03 +0000
parents b4db5366b595
children 0f1fe48bdb46
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
LIB=	libgsmefr.a

INSTALL_PREFIX=	/usr/local

all:	${LIB}

${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