annotate frtest/Makefile @ 26:40fcd89d8823

frtest: cn-debug utility added
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 20 Nov 2022 18:08:41 +0000
parents 94f18b720f1e
children 896ce7f1d271
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
26
40fcd89d8823 frtest: cn-debug utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
4 NOINST= cn-debug
14
69ed7af28473 gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
5 LIBPP= ../libgsmfrp/libgsmfrp.a
69ed7af28473 gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
6 LIBTEST=../libtest/libtest.a
69ed7af28473 gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
7 LIBDEC= ${LIBTEST} ${LIBPP}
17
68a7e86c9868 frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
8 INSTBIN=/opt/freecalypso/bin
12
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
19
7960744ba19c frtest: gsmfr-cvt-dlcap program based on fc-tch2fr
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
10 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
11
26
40fcd89d8823 frtest: cn-debug utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
12 all: ${PROGS} ${NOINST}
40fcd89d8823 frtest: cn-debug utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
13
40fcd89d8823 frtest: cn-debug utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
14 cn-debug: cn-debug.o ${LIBDEC}
40fcd89d8823 frtest: cn-debug utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
15 ${CC} ${CFLAGS} -o $@ cn-debug.o ${LIBDEC} -lgsm
12
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
19
7960744ba19c frtest: gsmfr-cvt-dlcap program based on fc-tch2fr
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
17 gsmfr-cvt-dlcap: ${CVT_OBJS}
7960744ba19c frtest: gsmfr-cvt-dlcap program based on fc-tch2fr
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
18 ${CC} ${CFLAGS} -o $@ ${CVT_OBJS}
7960744ba19c frtest: gsmfr-cvt-dlcap program based on fc-tch2fr
Mychaela Falconia <falcon@freecalypso.org>
parents: 17
diff changeset
19
14
69ed7af28473 gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
20 gsmfr-decode: decode.o ${LIBDEC}
69ed7af28473 gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
21 ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm
69ed7af28473 gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
22
69ed7af28473 gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
23 gsmfr-encode: encode.o ${LIBTEST}
69ed7af28473 gsmfr-encode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents: 12
diff changeset
24 ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm
12
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
24
94f18b720f1e new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
26 gsmfr-preproc: preproc.o ${LIBDEC}
94f18b720f1e new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
27 ${CC} ${CFLAGS} -o $@ preproc.o ${LIBDEC}
94f18b720f1e new debug utility gsmfr-preproc
Mychaela Falconia <falcon@freecalypso.org>
parents: 19
diff changeset
28
17
68a7e86c9868 frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
29 install:
68a7e86c9868 frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
30 mkdir -p ${INSTBIN}
68a7e86c9868 frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
31 install -c ${PROGS} ${INSTBIN}
68a7e86c9868 frtest/Makefile: add install
Mychaela Falconia <falcon@freecalypso.org>
parents: 14
diff changeset
32
12
f88817a233fb gsmfr-decode test program written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 clean:
26
40fcd89d8823 frtest: cn-debug utility added
Mychaela Falconia <falcon@freecalypso.org>
parents: 24
diff changeset
34 rm -f *.o *.out ${PROGS} ${NOINST}