FreeCalypso > hg > gsm-codec-lib
annotate libtwamr/Makefile @ 254:f931e704adc5
libtwamr: bits and parameter packing
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 05 Apr 2024 07:41:31 +0000 |
parents | 54f6bc41ed10 |
children | 07f936338de1 |
rev | line source |
---|---|
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
254
f931e704adc5
libtwamr: bits and parameter packing
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
3 OBJS= a_refl.o agc.o autocorr.o az_lsp.o basicop2.o bitno.o bits2prm.o \ |
f931e704adc5
libtwamr: bits and parameter packing
Mychaela Falconia <falcon@freecalypso.org>
parents:
253
diff
changeset
|
4 inv_sqrt.o oper_32b.o prmno.o tls_flags.o |
252
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
204
diff
changeset
|
5 LIB= libtwamr.a |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
7 INSTALL_PREFIX= /usr/local |
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
8 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 all: ${LIB} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
40
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
11 ${OBJS}: ${HDRS} |
0f1fe48bdb46
libgsmefr/Makefile: add header file dependencies
Mychaela Falconia <falcon@freecalypso.org>
parents:
38
diff
changeset
|
12 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 ${LIB}: ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 ar rcu $@ ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 ranlib $@ |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
17 install: |
204
0494279ae379
libgsmefr/Makefile: enable library install
Mychaela Falconia <falcon@freecalypso.org>
parents:
119
diff
changeset
|
18 mkdir -p ${INSTALL_PREFIX}/include |
252
57b4053559ff
libtwamr: beginning of project
Mychaela Falconia <falcon@freecalypso.org>
parents:
204
diff
changeset
|
19 install -c -m 444 tw_amr.h ${INSTALL_PREFIX}/include |
204
0494279ae379
libgsmefr/Makefile: enable library install
Mychaela Falconia <falcon@freecalypso.org>
parents:
119
diff
changeset
|
20 mkdir -p ${INSTALL_PREFIX}/lib |
0494279ae379
libgsmefr/Makefile: enable library install
Mychaela Falconia <falcon@freecalypso.org>
parents:
119
diff
changeset
|
21 install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
22 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 clean: |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 rm -f *.[oa] errs |