diff 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
line wrap: on
line diff
--- a/miscutil/Makefile	Tue Jun 14 01:40:14 2016 +0000
+++ b/miscutil/Makefile	Tue Jun 14 02:45:09 2016 +0000
@@ -1,11 +1,12 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	fc-fr2tch fc-rgbconv fc-serterm imei-luhn
+PROGS=	fc-fr2tch fc-rgbconv fc-serterm fc-tch2fr imei-luhn
 INSTBIN=/usr/local/bin
 
 all:	${PROGS}
 
 FR2TCH_OBJS=	fc-fr2tch.o gsm0610.o
+TCH2FR_OBJS=	fc-tch2fr.o gsm0610.o
 SERTERM_OBJS=	fc-serterm.o openport.o ttypassthru.o
 
 fc-fr2tch:	${FR2TCH_OBJS}
@@ -20,6 +21,9 @@
 ttypassthru.o:	../loadtools/ttypassthru.c
 	${CC} ${CFLAGS} -c -o $@ $<
 
+fc-tch2fr:	${TCH2FR_OBJS}
+	${CC} ${CFLAGS} -o $@ ${TCH2FR_OBJS}
+
 imei-luhn:	imei-luhn.c
 	${CC} ${CFLAGS} -o $@ $@.c