comparison frtest/Makefile @ 27:896ce7f1d271

frtest: cn-debug is now gsmfr-max-out
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 20 Nov 2022 23:04:27 +0000
parents 40fcd89d8823
children d21c68b8f16c
comparison
equal deleted inserted replaced
26:40fcd89d8823 27:896ce7f1d271
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gsmfr-cvt-dlcap gsmfr-decode gsmfr-encode gsmfr-preproc 3 PROGS= gsmfr-cvt-dlcap gsmfr-decode gsmfr-encode gsmfr-max-out gsmfr-preproc
4 NOINST= cn-debug
5 LIBPP= ../libgsmfrp/libgsmfrp.a 4 LIBPP= ../libgsmfrp/libgsmfrp.a
6 LIBTEST=../libtest/libtest.a 5 LIBTEST=../libtest/libtest.a
7 LIBDEC= ${LIBTEST} ${LIBPP} 6 LIBDEC= ${LIBTEST} ${LIBPP}
8 INSTBIN=/opt/freecalypso/bin 7 INSTBIN=/opt/freecalypso/bin
9 8
10 CVT_OBJS=cvt-dlcap.o tidsp.o 9 CVT_OBJS=cvt-dlcap.o tidsp.o
11 10
12 all: ${PROGS} ${NOINST} 11 all: ${PROGS}
13
14 cn-debug: cn-debug.o ${LIBDEC}
15 ${CC} ${CFLAGS} -o $@ cn-debug.o ${LIBDEC} -lgsm
16 12
17 gsmfr-cvt-dlcap: ${CVT_OBJS} 13 gsmfr-cvt-dlcap: ${CVT_OBJS}
18 ${CC} ${CFLAGS} -o $@ ${CVT_OBJS} 14 ${CC} ${CFLAGS} -o $@ ${CVT_OBJS}
19 15
20 gsmfr-decode: decode.o ${LIBDEC} 16 gsmfr-decode: decode.o ${LIBDEC}
21 ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm 17 ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm
22 18
23 gsmfr-encode: encode.o ${LIBTEST} 19 gsmfr-encode: encode.o ${LIBTEST}
24 ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm 20 ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm
25 21
22 gsmfr-max-out: max-out.o ${LIBDEC}
23 ${CC} ${CFLAGS} -o $@ max-out.o ${LIBDEC} -lgsm
24
26 gsmfr-preproc: preproc.o ${LIBDEC} 25 gsmfr-preproc: preproc.o ${LIBDEC}
27 ${CC} ${CFLAGS} -o $@ preproc.o ${LIBDEC} 26 ${CC} ${CFLAGS} -o $@ preproc.o ${LIBDEC}
28 27
29 install: 28 install:
30 mkdir -p ${INSTBIN} 29 mkdir -p ${INSTBIN}
31 install -c ${PROGS} ${INSTBIN} 30 install -c ${PROGS} ${INSTBIN}
32 31
33 clean: 32 clean:
34 rm -f *.o *.out ${PROGS} ${NOINST} 33 rm -f *.o *.out ${PROGS}