diff miscutil/Makefile @ 5:7eaa3307e5df

fc-fr2tch utility written, added under miscutil
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 14 Jun 2016 01:40:14 +0000
parents e7502631a0f9
children d57f68d0568d
line wrap: on
line diff
--- a/miscutil/Makefile	Tue Jun 14 01:02:48 2016 +0000
+++ b/miscutil/Makefile	Tue Jun 14 01:40:14 2016 +0000
@@ -1,12 +1,16 @@
 CC=	gcc
 CFLAGS=	-O2
-PROGS=	fc-rgbconv fc-serterm imei-luhn
+PROGS=	fc-fr2tch fc-rgbconv fc-serterm imei-luhn
 INSTBIN=/usr/local/bin
 
 all:	${PROGS}
 
+FR2TCH_OBJS=	fc-fr2tch.o gsm0610.o
 SERTERM_OBJS=	fc-serterm.o openport.o ttypassthru.o
 
+fc-fr2tch:	${FR2TCH_OBJS}
+	${CC} ${CFLAGS} -o $@ ${FR2TCH_OBJS}
+
 fc-rgbconv:	fc-rgbconv.c
 	${CC} ${CFLAGS} -o $@ $@.c