FreeCalypso > hg > freecalypso-tools
comparison tchtools/Makefile @ 905:546bf873ccc8
tchtools: new program fc-vm2gsmx
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 28 Dec 2022 09:08:50 +0000 |
parents | 8ddb16a37273 |
children | 94890123a74f |
comparison
equal
deleted
inserted
replaced
904:5041bcb8140f | 905:546bf873ccc8 |
---|---|
1 CC= gcc | 1 CC= gcc |
2 CFLAGS= -O2 | 2 CFLAGS= -O2 |
3 PROGS= fc-fr2tch fc-gsm2vm fc-tch2fr fc-vm2hex | 3 PROGS= 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 FR2TCH_OBJS= fc-fr2tch.o gsm0610.o | 11 FR2TCH_OBJS= fc-fr2tch.o gsm0610.o |
12 GSM2VM_OBJS= fc-gsm2vm.o gsm0610.o | 12 GSM2VM_OBJS= fc-gsm2vm.o gsm0610.o |
13 TCH2FR_OBJS= fc-tch2fr.o gsm0610.o | 13 TCH2FR_OBJS= fc-tch2fr.o gsm0610.o |
14 VM2GSMX_OBJS= fc-vm2gsmx.o gsm0610.o | |
14 | 15 |
15 fc-fr2tch: ${FR2TCH_OBJS} | 16 fc-fr2tch: ${FR2TCH_OBJS} |
16 ${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS} | 17 ${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS} |
17 | 18 |
18 fc-gsm2vm: ${GSM2VM_OBJS} | 19 fc-gsm2vm: ${GSM2VM_OBJS} |
19 ${CC} ${CFLAGS} -o $@ ${GSM2VM_OBJS} | 20 ${CC} ${CFLAGS} -o $@ ${GSM2VM_OBJS} |
20 | 21 |
21 fc-tch2fr: ${TCH2FR_OBJS} | 22 fc-tch2fr: ${TCH2FR_OBJS} |
22 ${CC} ${CFLAGS} -o $@ ${TCH2FR_OBJS} | 23 ${CC} ${CFLAGS} -o $@ ${TCH2FR_OBJS} |
23 | 24 |
25 fc-vm2gsmx: ${VM2GSMX_OBJS} | |
26 ${CC} ${CFLAGS} -o $@ ${VM2GSMX_OBJS} | |
27 | |
24 fc-vm2hex: fc-vm2hex.c | 28 fc-vm2hex: fc-vm2hex.c |
25 ${CC} ${CFLAGS} -o $@ $@.c | 29 ${CC} ${CFLAGS} -o $@ $@.c |
26 | 30 |
27 install: | 31 install: |
28 mkdir -p ${INSTBIN} | 32 mkdir -p ${INSTBIN} |