comparison 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
comparison
equal deleted inserted replaced
23:baadb1cb744d 24:94f18b720f1e
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= gsmfr-cvt-dlcap gsmfr-decode gsmfr-encode 3 PROGS= gsmfr-cvt-dlcap gsmfr-decode gsmfr-encode gsmfr-preproc
4 LIBPP= ../libgsmfrp/libgsmfrp.a 4 LIBPP= ../libgsmfrp/libgsmfrp.a
5 LIBTEST=../libtest/libtest.a 5 LIBTEST=../libtest/libtest.a
6 LIBDEC= ${LIBTEST} ${LIBPP} 6 LIBDEC= ${LIBTEST} ${LIBPP}
7 INSTBIN=/opt/freecalypso/bin 7 INSTBIN=/opt/freecalypso/bin
8 8
17 ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm 17 ${CC} ${CFLAGS} -o $@ decode.o ${LIBDEC} -lgsm
18 18
19 gsmfr-encode: encode.o ${LIBTEST} 19 gsmfr-encode: encode.o ${LIBTEST}
20 ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm 20 ${CC} ${CFLAGS} -o $@ encode.o ${LIBTEST} -lgsm
21 21
22 gsmfr-preproc: preproc.o ${LIBDEC}
23 ${CC} ${CFLAGS} -o $@ preproc.o ${LIBDEC}
24
22 install: 25 install:
23 mkdir -p ${INSTBIN} 26 mkdir -p ${INSTBIN}
24 install -c ${PROGS} ${INSTBIN} 27 install -c ${PROGS} ${INSTBIN}
25 28
26 clean: 29 clean: