view libgsmfrp/Makefile @ 244:fcc0887ff0d0

doc/FR1-Rx-DTX: document changes from 1.0.0 to 1.0.1
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 09 May 2023 17:28:19 +0000
parents a48ddaa0f9a7
children 6ac547f0b903
line wrap: on
line source

CC=	gcc
CFLAGS=	-O2
OBJS=	bad_frame.o comfort_noise.o good_frame.o prng.o sidclass.o \
	silence_frame.o state.o
HDRS=	gsm_fr_preproc.h internal.h
LIB=	libgsmfrp.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_fr_preproc.h ${INSTALL_PREFIX}/include
	mkdir -p ${INSTALL_PREFIX}/lib
	install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib

clean:
	rm -f *.[oa] errs