FreeCalypso > hg > gsm-codec-lib
annotate libgsmefr/Makefile @ 34:69b9cbca075b
libgsmefr: implement frame unpacking
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 24 Nov 2022 02:02:28 +0000 |
parents | 88468d5b3590 |
children | b5726d659915 |
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 |
34
69b9cbca075b
libgsmefr: implement frame unpacking
Mychaela Falconia <falcon@freecalypso.org>
parents:
33
diff
changeset
|
3 OBJS= frame2params.o params2frame.o sidclass.o |
31
19a90fa1f608
libgsmefr: implement SID classification
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
4 LIB= libgsmefr.a |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
6 INSTALL_PREFIX= /usr/local |
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
7 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 all: ${LIB} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 ${LIB}: ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 ar rcu $@ ${OBJS} |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 ranlib $@ |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
14 install: |
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
15 mkdir -p ${INSTALL_PREFIX}/include |
31
19a90fa1f608
libgsmefr: implement SID classification
Mychaela Falconia <falcon@freecalypso.org>
parents:
22
diff
changeset
|
16 install -c -m 444 gsm_efr.h ${INSTALL_PREFIX}/include |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
17 mkdir -p ${INSTALL_PREFIX}/lib |
22
3db7af1249cb
libgsmfrp/Makefile: correct modes for library install
Mychaela Falconia <falcon@freecalypso.org>
parents:
20
diff
changeset
|
18 install -c -m 444 ${LIB} ${INSTALL_PREFIX}/lib |
20
93ed41fb4038
libgsmfrp/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
6
diff
changeset
|
19 |
2
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 clean: |
2b5770c715ee
libgsmfrp: compiling utility functions
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 rm -f *.[oa] errs |