comparison miscutil/Makefile @ 171:f736f3ce8310

fc-gsm2vm utility written
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 22 Mar 2017 18:21:03 +0000
parents a72bbc3ace09
children fb577c31e960
comparison
equal deleted inserted replaced
170:a72bbc3ace09 171:f736f3ce8310
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= fc-fr2tch fc-rgbconv fc-serterm fc-tch2fr fc-vm2hex imei-luhn 3 PROGS= fc-fr2tch fc-gsm2vm fc-rgbconv fc-serterm fc-tch2fr fc-vm2hex imei-luhn
4 SCRIPTS=c139explore pirexplore 4 SCRIPTS=c139explore pirexplore
5 INSTBIN=/opt/freecalypso/bin 5 INSTBIN=/opt/freecalypso/bin
6 6
7 all: ${PROGS} 7 all: ${PROGS}
8 8
9 FR2TCH_OBJS= fc-fr2tch.o gsm0610.o 9 FR2TCH_OBJS= fc-fr2tch.o gsm0610.o
10 GSM2VM_OBJS= fc-gsm2vm.o gsm0610.o
10 TCH2FR_OBJS= fc-tch2fr.o gsm0610.o 11 TCH2FR_OBJS= fc-tch2fr.o gsm0610.o
11 SERTERM_OBJS= fc-serterm.o openport.o ttypassthru.o 12 SERTERM_OBJS= fc-serterm.o openport.o ttypassthru.o
12 13
13 fc-fr2tch: ${FR2TCH_OBJS} 14 fc-fr2tch: ${FR2TCH_OBJS}
14 ${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS} 15 ${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS}
16
17 fc-gsm2vm: ${GSM2VM_OBJS}
18 ${CC} ${CFLAGS} -o $@ ${GSM2VM_OBJS}
15 19
16 fc-rgbconv: fc-rgbconv.c 20 fc-rgbconv: fc-rgbconv.c
17 ${CC} ${CFLAGS} -o $@ $@.c 21 ${CC} ${CFLAGS} -o $@ $@.c
18 22
19 fc-serterm: ${SERTERM_OBJS} 23 fc-serterm: ${SERTERM_OBJS}