FreeCalypso > hg > gsm-codec-lib
annotate frtest/Makefile @ 24:94f18b720f1e
new debug utility gsmfr-preproc
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 20 Nov 2022 08:30:07 +0000 |
parents | 7960744ba19c |
children | 40fcd89d8823 |
rev | line source |
---|---|
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 CC= gcc |
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 CFLAGS= -O2 |
24
94f18b720f1e
new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents:
19
diff
changeset
|
3 PROGS= gsmfr-cvt-dlcap gsmfr-decode gsmfr-encode gsmfr-preproc |
14
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
4 LIBPP= ../libgsmfrp/libgsmfrp.a |
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
5 LIBTEST=../libtest/libtest.a |
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
6 LIBDEC= ${LIBTEST} ${LIBPP} |
17
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
7 INSTBIN=/opt/freecalypso/bin |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
19
7960744ba19c
frtest: gsmfr-cvt-dlcap program based on fc-tch2fr
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
9 CVT_OBJS=cvt-dlcap.o tidsp.o |
7960744ba19c
frtest: gsmfr-cvt-dlcap program based on fc-tch2fr
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
10 |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 all: ${PROGS} |
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
19
7960744ba19c
frtest: gsmfr-cvt-dlcap program based on fc-tch2fr
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
13 gsmfr-cvt-dlcap: ${CVT_OBJS} |
7960744ba19c
frtest: gsmfr-cvt-dlcap program based on fc-tch2fr
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
14 ${CC} ${CFLAGS} -o $@ ${CVT_OBJS} |
7960744ba19c
frtest: gsmfr-cvt-dlcap program based on fc-tch2fr
Mychaela Falconia <falcon@freecalypso.org>
parents:
17
diff
changeset
|
15 |
14
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
16 gsmfr-decode: decode.o ${LIBDEC} |
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
17 ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm |
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
18 |
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
19 gsmfr-encode: encode.o ${LIBTEST} |
69ed7af28473
gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
12
diff
changeset
|
20 ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 |
24
94f18b720f1e
new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents:
19
diff
changeset
|
22 gsmfr-preproc: preproc.o ${LIBDEC} |
94f18b720f1e
new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents:
19
diff
changeset
|
23 ${CC} ${CFLAGS} -o $@ preproc.o ${LIBDEC} |
94f18b720f1e
new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents:
19
diff
changeset
|
24 |
17
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
25 install: |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
26 mkdir -p ${INSTBIN} |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
27 install -c ${PROGS} ${INSTBIN} |
68a7e86c9868
frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents:
14
diff
changeset
|
28 |
12
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 clean: |
f88817a233fb
gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 rm -f *.o *.out ${PROGS} |