FreeCalypso > hg > gsm-codec-lib
comparison frtest/Makefile @ 283:25649b3a83e9
gsmfr-cod2std: convert to libgsmfr2
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 14 Apr 2024 05:51:42 +0000 |
parents | 9ee8ad3d4d30 |
children | 8d3cfa65a6c2 |
comparison
equal
deleted
inserted
replaced
282:9ee8ad3d4d30 | 283:25649b3a83e9 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= gsmfr-cod2std gsmfr-decode gsmfr-decode-r gsmfr-dlcap-gsmx \ | 3 PROGS= gsmfr-cod2std gsmfr-decode gsmfr-decode-r gsmfr-dlcap-gsmx \ |
4 gsmfr-dlcap-parse gsmfr-encode gsmfr-encode-r gsmfr-preproc | 4 gsmfr-dlcap-parse gsmfr-encode gsmfr-encode-r gsmfr-preproc |
5 LIBFR2= ../libgsmfr2/libgsmfr2.a | |
5 LIBPP= ../libgsmfrp/libgsmfrp.a | 6 LIBPP= ../libgsmfrp/libgsmfrp.a |
6 LIBTEST=../libtest/libtest.a | 7 LIBTEST=../libtest/libtest.a |
7 LIBDEC= ${LIBTEST} ${LIBPP} | 8 LIBDEC= ${LIBTEST} ${LIBPP} |
8 INSTBIN=/opt/freecalypso/bin | 9 INSTBIN=/opt/freecalypso/bin |
9 | 10 |
10 all: ${PROGS} | 11 all: ${PROGS} |
11 | 12 |
12 gsmfr-cod2std: cod2std.o | 13 gsmfr-cod2std: cod2std.o ${LIBFR2} |
13 ${CC} ${CFLAGS} -o $@ cod2std.o -lgsm | 14 ${CC} ${CFLAGS} -o $@ cod2std.o ${LIBFR2} |
14 | 15 |
15 gsmfr-decode: decode.o ${LIBDEC} | 16 gsmfr-decode: decode.o ${LIBDEC} |
16 ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm | 17 ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm |
17 | 18 |
18 gsmfr-decode-r: decode-r.o ${LIBDEC} | 19 gsmfr-decode-r: decode-r.o ${LIBDEC} |