comparison libgsmfr2/Makefile @ 256:a33edf624061

libgsmfr2: start with API definition and port of libgsmfrp code
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 12 Apr 2024 20:49:53 +0000
parents libgsmfrp/Makefile@6ac547f0b903
children c344b4f35eb7
comparison
equal deleted inserted replaced
255:07f936338de1 256:a33edf624061
1 CC= gcc
2 CFLAGS= -O2
3 OBJS= comfort_noise.o pp_bad.o pp_good.o pp_state.o prng.o sidclass.o \
4 silence_frame.o xmaxc_mean.o
5 HDRS= pp_internal.h tw_gsmfr.h
6 LIB= libgsmfr2.a
7
8 INSTALL_PREFIX= /usr/local
9
10 all: ${LIB}
11
12 ${OBJS}: ${HDRS}
13
14 ${LIB}: ${OBJS}
15 ar rcu $@ ${OBJS}
16 ranlib $@
17
18 install:
19 mkdir -p ${INSTALL_PREFIX}/include
20 install -c -m 444 tw_gsmfr.h ${INSTALL_PREFIX}/include
21 mkdir -p ${INSTALL_PREFIX}/lib
22 install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib
23
24 clean:
25 rm -f *.[oa] errs