comparison miscutil/Makefile @ 6:d57f68d0568d

fc-tch2fr utility written, added under miscutil
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 Jun 2016 02:45:09 +0000
parents 7eaa3307e5df
children bfcc5a286459
comparison
equal deleted inserted replaced
5:7eaa3307e5df 6:d57f68d0568d
1 CC= gcc 1 CC= gcc
2 CFLAGS= -O2 2 CFLAGS= -O2
3 PROGS= fc-fr2tch fc-rgbconv fc-serterm imei-luhn 3 PROGS= fc-fr2tch fc-rgbconv fc-serterm fc-tch2fr imei-luhn
4 INSTBIN=/usr/local/bin 4 INSTBIN=/usr/local/bin
5 5
6 all: ${PROGS} 6 all: ${PROGS}
7 7
8 FR2TCH_OBJS= fc-fr2tch.o gsm0610.o 8 FR2TCH_OBJS= fc-fr2tch.o gsm0610.o
9 TCH2FR_OBJS= fc-tch2fr.o gsm0610.o
9 SERTERM_OBJS= fc-serterm.o openport.o ttypassthru.o 10 SERTERM_OBJS= fc-serterm.o openport.o ttypassthru.o
10 11
11 fc-fr2tch: ${FR2TCH_OBJS} 12 fc-fr2tch: ${FR2TCH_OBJS}
12 ${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS} 13 ${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS}
13 14
18 ${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS} 19 ${CC} ${CFLAGS} -o $@ ${SERTERM_OBJS}
19 20
20 ttypassthru.o: ../loadtools/ttypassthru.c 21 ttypassthru.o: ../loadtools/ttypassthru.c
21 ${CC} ${CFLAGS} -c -o $@ $< 22 ${CC} ${CFLAGS} -c -o $@ $<
22 23
24 fc-tch2fr: ${TCH2FR_OBJS}
25 ${CC} ${CFLAGS} -o $@ ${TCH2FR_OBJS}
26
23 imei-luhn: imei-luhn.c 27 imei-luhn: imei-luhn.c
24 ${CC} ${CFLAGS} -o $@ $@.c 28 ${CC} ${CFLAGS} -o $@ $@.c
25 29
26 install: 30 install:
27 mkdir -p ${INSTBIN} 31 mkdir -p ${INSTBIN}