comparison 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
comparison
equal deleted inserted replaced
25:61cb83bd11ec 26:40fcd89d8823
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-preproc
4 NOINST= cn-debug
4 LIBPP= ../libgsmfrp/libgsmfrp.a 5 LIBPP= ../libgsmfrp/libgsmfrp.a
5 LIBTEST=../libtest/libtest.a 6 LIBTEST=../libtest/libtest.a
6 LIBDEC= ${LIBTEST} ${LIBPP} 7 LIBDEC= ${LIBTEST} ${LIBPP}
7 INSTBIN=/opt/freecalypso/bin 8 INSTBIN=/opt/freecalypso/bin
8 9
9 CVT_OBJS=cvt-dlcap.o tidsp.o 10 CVT_OBJS=cvt-dlcap.o tidsp.o
10 11
11 all: ${PROGS} 12 all: ${PROGS} ${NOINST}
13
14 cn-debug: cn-debug.o ${LIBDEC}
15 ${CC} ${CFLAGS} -o $@ cn-debug.o ${LIBDEC} -lgsm
12 16
13 gsmfr-cvt-dlcap: ${CVT_OBJS} 17 gsmfr-cvt-dlcap: ${CVT_OBJS}
14 ${CC} ${CFLAGS} -o $@ ${CVT_OBJS} 18 ${CC} ${CFLAGS} -o $@ ${CVT_OBJS}
15 19
16 gsmfr-decode: decode.o ${LIBDEC} 20 gsmfr-decode: decode.o ${LIBDEC}
25 install: 29 install:
26 mkdir -p ${INSTBIN} 30 mkdir -p ${INSTBIN}
27 install -c ${PROGS} ${INSTBIN} 31 install -c ${PROGS} ${INSTBIN}
28 32
29 clean: 33 clean:
30 rm -f *.o *.out ${PROGS} 34 rm -f *.o *.out ${PROGS} ${NOINST}