comparison tchtools/Makefile @ 906:94890123a74f

tchtools: new program fc-efr2tch
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 28 Dec 2022 10:05:46 +0000
parents 546bf873ccc8
children
comparison
equal deleted inserted replaced
905:546bf873ccc8 906:94890123a74f
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= fc-fr2tch fc-gsm2vm fc-tch2fr fc-vm2gsmx fc-vm2hex 3 PROGS= fc-efr2tch fc-fr2tch fc-gsm2vm fc-tch2fr fc-vm2gsmx fc-vm2hex
4 4
5 INSTALL_PREFIX= /opt/freecalypso 5 INSTALL_PREFIX= /opt/freecalypso
6 6
7 INSTBIN=${INSTALL_PREFIX}/bin 7 INSTBIN=${INSTALL_PREFIX}/bin
8 8
9 all: ${PROGS} 9 all: ${PROGS}
10 10
11 EFR2TCH_OBJS= fc-efr2tch.o efr2dsp.o
11 FR2TCH_OBJS= fc-fr2tch.o gsm0610.o 12 FR2TCH_OBJS= fc-fr2tch.o gsm0610.o
12 GSM2VM_OBJS= fc-gsm2vm.o gsm0610.o 13 GSM2VM_OBJS= fc-gsm2vm.o gsm0610.o
13 TCH2FR_OBJS= fc-tch2fr.o gsm0610.o 14 TCH2FR_OBJS= fc-tch2fr.o gsm0610.o
14 VM2GSMX_OBJS= fc-vm2gsmx.o gsm0610.o 15 VM2GSMX_OBJS= fc-vm2gsmx.o gsm0610.o
16
17 fc-efr2tch: ${EFR2TCH_OBJS}
18 ${CC} ${CFLAGS} -o $@ ${EFR2TCH_OBJS}
15 19
16 fc-fr2tch: ${FR2TCH_OBJS} 20 fc-fr2tch: ${FR2TCH_OBJS}
17 ${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS} 21 ${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS}
18 22
19 fc-gsm2vm: ${GSM2VM_OBJS} 23 fc-gsm2vm: ${GSM2VM_OBJS}